Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: When Sulaiman bin Dawud (peace be upon him) finished the construction of Bayt al-Maqdis, he prayed to Allah Almighty to grant him judgment in accordance with His command, and to grant him such a kingdom and authority that no one after him would be given, and that whoever comes to this mosque with the sole intention of performing prayer, may he be cleansed of sins as on the day his mother gave birth to him. The Messenger of Allah (peace and blessings be upon him) said: “The first two prayers were accepted, and I hope that the third prayer will also be accepted.”