Sunan Ibn Majah 1408
سنن ابن ماجه#1408SahihIt was narrated from ‘Abdullah bin ‘Amr that the Prophet (ﷺ) said:“When Sulaiman bin Dawud finished building Baitil-Maqdis, he asked Allah for three things: judgment that was in harmony with His judgment, a dominion that no one after him would have, and that no one should come to this mosque, intending only to pray there, but he would emerge free of sin as the day his mother bore him.” The Prophet (ﷺ) said: “Two prayers were granted, and I hope that the third was also granted.”
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniSahih
Muhammad Fouad Abd al-BaqiSahih
Zubair Ali ZaiSahih
In-book reference: 5:606