Sahih Muslim 202
The Book of Faith
The supplication of the Prophet (ﷺ) for his ummah and his weeping out of compassion for them
'Abdullah b. Amr b. al-'As reported: Verily the Messenger of Allah (ﷺ) recited the words of Allah, the Great and Glorious, that Ibrahim uttered. My Lord! lo! they have led many of mankind astray:" But whoso followeth me, he verily is of me" (al-Qur'an, xiv. 35) and Jesus (peace be upon him) said:" If you punisheth them, lo! they are Your slaves, and if You forgiveth them-verily You are the Mighty, the Wise" (al-Qur'an, v 117). Then he raised his hands and said: O Lord, my Ummah, my Ummah, and wept; so Allah the High and the Exalted said: O Gabriel, go to Muhammad (though your Lord knows it fully well) and ask him: What makes you weep? So Gabriel (peace be upon him) came to him and asked him, and the Messenger of Allah (ﷺ) informed him what he had said (though Allah knew it fully well). Upon this Allah said: O Gabriel, go to Muhammad and say: Verily We will please you with regard to your Ummah and would not displease you.