كتاب الفتن وأشراط الساعة
54  
The Book of Tribulations and Portents of the Last Hour
(23)
Chapter: The Emergence Of Ad-Dajjal And His Stay On Earth, And The Descent Of 'Eisa Who Will Kill Him. The Death Of The People Of Goodness And Faith, And The Survival Of The Worst Of People, And Their Idol-Worship. The Trumpet Blast, And The Resurrection Of Those Who Are In Their Graves
(23)
بَاب فِي خُرُوجِ الدَّجَّالِ وَمُكْثِهِ فِي الْأَرْضِ وَنُزُولِ عِيسَى وَقَتْلِهِ إِيَّاهُ
Sahih Muslim 2941 a

`Abdullah b. `Amr reported:

I committed to memory a hadith from Allah's Messenger (ﷺ) and I did not forget it after I had heard Allah's Messenger (ﷺ) as saying: The first sign (out of the signs of the appearance of the Dajjal) would be the appearance of the sun from the west, the appearance of the beast before the people in the forenoon and which of the two happens first, the second one would follow immediately after that.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ بِشْرٍ، عَنْ أَبِي حَيَّانَ، عَنْ أَبِي زُرْعَةَ، عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو، قَالَ حَفِظْتُ مِنْ رَسُولِ اللَّهِ صلى الله عليه وسلم حَدِيثًا لَمْ أَنْسَهُ بَعْدُ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ إِنَّ أَوَّلَ الآيَاتِ خُرُوجًا طُلُوعُ الشَّمْسِ مِنْ مَغْرِبِهَا وَخُرُوجُ الدَّابَّةِ عَلَى النَّاسِ ضُحًى وَأَيُّهُمَا مَا كَانَتْ قَبْلَ صَاحِبَتِهَا فَالأُخْرَى عَلَى إِثْرِهَا قَرِيبًا ‏"‏ ‏.‏
Reference : Sahih Muslim 2941a
In-book reference : Book 54, Hadith 144
USC-MSA web (English) reference : Book 41, Hadith 7025
  (deprecated numbering scheme)