Adi bin Hatim reported,

A man delivered a speech in the presence of the Prophet ﷺ and said, "Whoever obeys Allah and His Messenger has been guided rightly, and whoever disobeys them has gone astray."The Messenger of Allah ﷺ said, "What a poor speaker you are! Say instead, 'Whoever disobeys Allah and His Messenger.'"

Azami 14717

Sahih

عن عدي بن حاتم

أن رجلا خطب عند النبي ﷺ فقال: من يطع الله ورسوله فقد رشد، ومن يعصهما فقد غوى، فقال رسول الله ﷺ: بئس الخطيب أنت! قل: ومن يعص الله ورسوله.

الأعظمي 14717صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Hisbah, dawah, and the sermon
Section
Preacher saying, "And whoever disobeys Allah and His Messenger has surely gone astray"
Numbering
Jami al-Kamil 14717 (2nd edition)
Azami 14717