(2) باب الاِقْتِدَاءِ بِسُنَنِ رَسُولِ اللَّهِ صلى الله عليه وسلم
Narrated Abu Musa:
The Prophet (ﷺ) said, "My example and the example of what I have been sent with is that of a man who came to some people and said, 'O people! I have seen the enemy's army with my own eyes, and I am the naked warner; so protect yourselves!' Then a group of his people obeyed him and fled at night proceeding stealthily till they were safe, while another group of them disbelieved him and stayed at their places till morning when the army came upon them, and killed and ruined them completely So this is the example of that person who obeys me and follows what I have brought (the Qur'an and the Sunna), and the example of the one who disobeys me and disbelieves the truth I have brought."
Reference: Sahih al-Bukhari 7283
In-book reference: Book 96, Hadith 15
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 9, Book 92, Hadith 387