The Book Pertaining to the Turmoil and Portents of the Last Hour (Kitab Al-Fitan wa Ashrat As-Sa`ah)
Muslim :: Book 41 : Hadith 6907
Amir b. Sa'd reported on the authority of his father that Allah's Messenger (may peace be upon him) came with a group of his Companions and he passed by the mosque of Banu Mu'awiya. The rest of the hadith is the same.