Hadith on Ummah: The Prophet will be pleased with his nation

Abdullah ibn Amr reported: The Prophet, peace and blessings be upon him, recited the saying of Allah Almighty about Abraham, “My Lord, the idols have misled many of the people, so whoever follows me is part of me,” (14:36). And the words of Jesus, upon him be peace, “If You punish them, indeed they are Your servants; but if You forgive them, indeed You are the Almighty, the Wise.” (5:117). Then the Prophet raised his hands and he said, “O Allah, my nation, my nation!” And the Prophet wept. Allah Almighty said, “O Gabriel, go to Muhammad – and your Lord is most knowing – and ask him why he is crying.” Gabriel came to him and he asked him and the Prophet told him about it, though Allah knows best. Allah said, “O Gabriel, go to Muhammad and say: Verily, We will please you regarding your nation and We will not disappoint you.”

Source: Ṣaḥīḥ Muslim 202

Grade: Sahih (authentic) according to Muslim

عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ تَلَا قَوْلَ اللَّهِ عَزَّ وَجَلَّ فِي إِبْرَاهِيمَ رَبِّ إِنَّهُنَّ أَضْلَلْنَ كَثِيرًا مِنْ النَّاسِ فَمَنْ تَبِعَنِي فَإِنَّهُ مِنِّي الْآيَةَ وَقَالَ عِيسَى عَلَيْهِ السَّلَام إِنْ تُعَذِّبْهُمْ فَإِنَّهُمْ عِبَادُكَ وَإِنْ تَغْفِرْ لَهُمْ فَإِنَّكَ أَنْتَ الْعَزِيزُ الْحَكِيمُ  فَرَفَعَ يَدَيْهِ وَقَالَ اللَّهُمَّ أُمَّتِي أُمَّتِي وَبَكَى فَقَالَ اللَّهُ عَزَّ وَجَلَّ يَا جِبْرِيلُ اذْهَبْ إِلَى مُحَمَّدٍ وَرَبُّكَ أَعْلَمُ فَسَلْهُ مَا يُبْكِيكَ فَأَتَاهُ جِبْرِيلُ عَلَيْهِ السَّلَام فَسَأَلَهُ فَأَخْبَرَهُ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِمَا قَالَ وَهُوَ أَعْلَمُ فَقَالَ اللَّهُ يَا جِبْرِيلُ اذْهَبْ إِلَى مُحَمَّدٍ فَقُلْ إِنَّا سَنُرْضِيكَ فِي أُمَّتِكَ وَلَا نَسُوءُكَ

202 صحيح مسلم كتاب الإيمان باب دعاء النبي صلى الله عليه وسلم لأمته وبكائه شفقة عليهم