Sunan Abi Dawud, Book 1, Hadith 382 (Abu Dawud 382)

Ibn 'Umar said:

I used to sleep in the mosque in the lifetime of the Messenger of Allah (ﷺ) when I was young and bachelor. The dogs would urinate frequently visit the mosque, and no one would sprinkle over it.