It is related that when Abu Talib died, the Prophet (peace be upon him) went out on foot to Taif to call its people to Islam. They rejected his call, and he walked away until he got to the shade of a tree. So, he prayed two Rakâ€™at and said:
â€œO Allah, I complain to You of my weakness and my insignificance in the eyes of the people. You are the most Merciful. No matter who You have put me at the mercy of â€“ an enemy who will be stern with me, or a friend to look after my affairs â€“ as long as You are not angry with me, then I donâ€™t care. However, the relief You bring would be more comfortable for me. I seek refuge with Your Face â€“ for which the darkness has lit up, and the affairs of this world and the next are organized â€“ from being afflicted with Your Wrath or deserving of Your Anger. You have the right to admonish as You please, and there is no might nor power except by Allah.â€
This was related by Al-Haythami in â€˜Majmaâ€™ Az-Zawaâ€™idâ€™ (6/35), and he mentioned in it that Al-Tabarani related it in â€˜Al-Muâ€™jam Al-Kabirâ€™ on the authority of Abdullah Bin Jaâ€™far Bin Abu Talib.
Look at how even in such moments of his life, all he cared about (peace be upon him) was whether or not Allah was pleased with him