Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ came out to us one day as if bidding farewell and said, "I am Muhammad, the unlettered Prophet," repeating it three times, "and there is no prophet after me. I have been given the openings of speech, its conclusions, and its comprehensive expressions. I have been informed of the number of the keepers of the Fire and the bearers of the Throne. I have been spared, and my nation has been spared. So listen and obey as long as I am among you, and when I am taken from you, hold fast to the Book of Allah. Treat its lawful as lawful and its unlawful as unlawful."

Ahmad 6606

Daif

و سمعت

عبد الله بن عمرو يقول

خرج علينا رسول الله ﷺ يوما كالمودع فقال أنا محمد النبي الأمي قاله ثلاث مرات ولا نبي بعدي أوتيت فواتح الكلم وخواتمه وجوامعه وعلمت كم خزنة النار وحملة العرش وتجوز بي وعوفيت وعوفيت أمتي فاسمعوا وأطيعوا ما دمت فيكم فإذا ذهب بي فعليكم بكتاب الله أحلوا حلاله وحرموا حرامه

أحمد 6606ضعيف
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Amr bin As
Numbering
Darussalam 6606
Ahmad 6606