Muwatta Malik, Book 45, Hadith 8 (USC-MSA)

Yahya related to me from Malik from Ibn Himas from his paternal uncle from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, said, "Madina will be left in the best way that it is until a dog or wolf enters it and urinates on one of the pillars of the mosque or on the mimbar." They asked, "Messenger of Allah! Who will have the fruit at that time?" He replied, "Animals seeking food, birds and wild beasts."

وَحَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنِ ابْنِ حِمَاسٍ، عَنْ عَمِّهِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ لَتُتْرَكَنَّ الْمَدِينَةُ عَلَى أَحْسَنِ مَا كَانَتْ حَتَّى يَدْخُلَ الْكَلْبُ أَوِ الذِّئْبُ فَيُغَذِّي عَلَى بَعْضِ سَوَارِي الْمَسْجِدِ أَوْ عَلَى الْمِنْبَرِ ‏"‏ ‏.‏ فَقَالُوا يَا رَسُولَ اللَّهِ فَلِمَنْ تَكُونُ الثِّمَارُ ذَلِكَ الزَّمَانَ قَالَ ‏"‏ لِلْعَوَافِي الطَّيْرِ وَالسِّبَاعِ ‏"‏ ‏.‏

sunnah.com

also referenced under: Book 45, Hadith 1608 (In-Book)