It was narrated from 'Abdullah bin 'Amr that the Messenger of Allah (ﷺ) said:
"When Sulaiman bin Dawud finished building Bait Al-Maqdis, he asked Allah for three things: Judgement that was in harmony with His judgement, and he was given that. And he asked Allah for a dominion that no one after him would have, and he was given that. And when he finished building the Masjid he asked Allah, the Mighty and Sublime, that no one should come to it, intending only to pray there, but he would emerge free of sin as the day his mother bore him."
Reference: Sunan an-Nasa'i 693 In-book : Book 8, Hadith 6 English translation : Vol. 1, Book 8, Hadith 694
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.