Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with them both) says: I heard the Messenger of Allah (peace and blessings be upon him) say: "Sulayman bin Dawud (peace be upon them both) asked Allah for three things; Allah granted him two, and I hope that He has granted him the third as well. He asked Allah for the ability to judge in a way that agrees with Allah's judgement, and Allah granted it to him. And he asked for a kingdom that would befit no one after him, and He granted that to him as well. And the third thing he asked was that whoever leaves his house with no intention but to pray in this mosque" - meaning the mosque of Bayt al-Maqdis - "should come out of his sins as pure as he was on the day his mother gave birth to him."
Hadith Referenceالمعجم الأوسط / باب الميم / 8989
Hadith Takhrij«أخرجه ابن خزيمة فى «صحيحه» برقم: 939، 1334، (2/472) [دون رقم في الترقيم المختار]، وابن حبان فى «صحيحه» برقم: 1633، 5357، 6170، 6169، 6420، والحاكم فى «المستدرك» برقم: 84، 951، 3645، 7326، 7325، والنسائي فى «المجتبى» برقم: 692 / 1، 5680 / 1، 5686 / 1، 5685 / 4، والنسائي فى «السنن الكبرى» برقم: 774، 5154، 5160، 5159، والترمذي فى «جامعه» برقم: 2642، والدارمي فى «مسنده» برقم: 2136، وابن ماجه فى «سننه» برقم: 1408، 3377، وسعيد بن منصور فى «سننه» برقم: 814، والبيهقي فى «السنن الكبرى» برقم: 1861، 17432، 17783، والدارقطني فى «سننه» برقم: 4613، 4610، وأحمد فى «مسنده» برقم: 6754، 6770، 6891، 6973، (3/1440) [دون رقم في الترقيم المختار]، والطيالسي فى «مسنده» برقم: 2405، والبزار فى «مسنده» برقم: 2379، 2380، 2377، 2378، 2469، 2493، وابن أبي شيبة فى «مصنفه» برقم: 24536، 24565، 24564، والطحاوي فى «شرح مشكل الآثار» برقم: 3580، 3581، والطبراني فى «الكبير» برقم: 14173، 14299، 14360، 14549، 14550، 14554، 14551، 14552، 14553، 14555، 14556، 14557، والطبراني فى «الأوسط» برقم: 3667، 6371، 6815»