Sahih al-Bukhari, Book 46, Hadith 28 (Bukhari 2371)

Narrated Usama bin Zaid:

Once the Prophet (ﷺ) stood at the top of one of the castles (or higher buildings) of Medina and said, "Do you see what I see? No doubt I am seeing the spots of afflictions amongst your houses as numerous as the spots where raindrops fall (during a heavy rain). (See Hadith No. 102)