Sunan Abi Dawud Book 2, Hadith 58
I was not commanded to build high mosques. Ibn Abbas said: You will certainly adorn them as the Jews and Christians did.
We proceeded with the Messenger of Allah (ﷺ) on the occasion of al-Hudaybiyyah. The Messenger of Allah (ﷺ) said: Who will keep watch for us? Bilal said: I (shall do). The overslept till the sun arose. The Prophet (ﷺ) awoke and said: Do as you used to do (i.e. offer prayer as usual). Then we did accordingly. He said: Anyone who oversleeps or forgets (prayer) should do similarly.
The Prophet (ﷺ) said: The Last Hour will not come until people vie with one another about mosques.