كتاب الفتن وأشراط الساعة
54  
The Book of Tribulations and Portents of the Last Hour
(24)
Chapter: Al-Jassasah
(24)
باب ‏{‏ قِصَّةِ الْجَسَّاسَةِ ‏}‏
Sahih Muslim 2943 b

This hadith has been transmitted on the authority of Anas that Allah's Messenger (ﷺ) said this but with this addition that (the Dajjal would come) and pitch his tent in the waste-land of Juruf and thus there would come out of (the city) every hypocrite, man and woman.

وَحَدَّثَنَاهُ أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ، عَنْ حَمَّادِ بْنِ سَلَمَةَ، عَنْ إِسْحَاقَ بْنِ عَبْدِ اللَّهِ بْنِ أَبِي طَلْحَةَ، عَنْ أَنَسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏.‏ فَذَكَرَ نَحْوَهُ غَيْرَ أَنَّهُ قَالَ فَيَأْتِي سَبَخَةَ الْجُرُفِ فَيَضْرِبُ رِوَاقَهُ وَقَالَ فَيَخْرُجُ إِلَيْهِ كُلُّ مُنَافِقٍ وَمُنَافِقَةٍ ‏.‏
Reference : Sahih Muslim 2943b
In-book reference : Book 54, Hadith 152
USC-MSA web (English) reference : Book 41, Hadith 7033
  (deprecated numbering scheme)