عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو رَضِيَ اللَّهُ عَنْهُمَا يَقُولُ خَرَجَ عَلَيْنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَوْمًا كَالْمُوَدِّعِ فَقَالَ أَنَا مُحَمَّدٌ النَّبِيُّ الْأُمِّيُّ قَالَهُ ثَلَاثَ مَرَّاتٍ وَلَا نَبِيَّ بَعْدِي أُوتِيتُ فَوَاتِحَ الْكَلِمِ وَخَوَاتِمَهُ وَجَوَامِعَهُ وَعَلِمْتُ كَمْ خَزَنَةُ النَّارِ وَحَمَلَةُ الْعَرْشِ وَتُجُوِّزَ بِي وَعُوفِيتُ وَعُوفِيَتْ أُمَّتِي فَاسْمَعُوا وَأَطِيعُوا مَا دُمْتُ فِيكُمْ فَإِذَا ذُهِبَ بِي فَعَلَيْكُمْ بِكِتَابِ اللَّهِ أَحِلُّوا حَلَالَهُ وَحَرِّمُوا حَرَامَهُ
It is narrated from Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with them both), he says: One day the Noble Prophet (peace and blessings be upon him) came to us, it seemed as if he (peace and blessings be upon him) was bidding us farewell. He (peace and blessings be upon him) said: I am Muhammad, the unlettered Prophet. He (peace and blessings be upon him) said this three times and then said: There is no prophet after me. I have been granted the initial, final, and comprehensive forms of words. I also know how many angels are the keepers of Hell and how many angels bear the Throne of Allah Almighty. Many hardships have been pardoned for my Ummah by Allah Almighty, and safety has been granted to me and my Ummah. As long as I am among you, listen to me and obey me, and when I depart from this world, hold fast to the Book of Allah, consider its lawful things as lawful and its unlawful things as unlawful.