عَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو رَضِيَ اللَّهُ عَنْهُمَا قَالَ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَقُولُ ((إِنَّ سُلَيْمَانَ بْنَ دَاوُدَ عَلَيْهِ السَّلَامُ سَأَلَ اللَّهَ ثَلَاثًا فَأَعْطَاهُ ثِنْتَيْنِ وَنَحْنُ نَرْجُو أَنْ تَكُونَ لَهُ الثَّالِثَةُ فَسَأَلَهُ حُكْمًا يُصَادِفُ حُكْمَهُ فَأَعْطَاهُ إِيَّاهُ وَسَأَلَهُ مُلْكًا لَا يَنْبَغِي لِأَحَدٍ مِنْ بَعْدِهِ فَأَعْطَاهُ إِيَّاهُ وَسَأَلَهُ أَيُّمَا رَجُلٍ خَرَجَ مِنْ بَيْتِهِ لَا يُرِيدُ إِلَّا الصَّلَاةَ فِي هَذَا الْمَسْجِدِ خَرَجَ مِنْ خَطِيئَتِهِ مِثْلَ يَوْمِ وَلَدَتْهُ أُمُّهُ فَنَحْنُ نَرْجُو أَنْ يَكُونَ اللَّهُ عَزَّ وَجَلَّ قَدْ أَعْطَاهُ إِيَّاهُ))
Narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that the Noble Prophet (peace and blessings be upon him) said: Indeed, Hazrat Sulaiman bin Dawood (peace be upon them) asked Allah Almighty for three things; He granted him two of them, and we also hope for the third. He asked that his command and judgment be in accordance with Allah Almighty’s command and judgment, so He granted him this. He asked for such a kingdom that would not be suitable for anyone after him, so He granted him this as well. And he asked thirdly that whoever leaves his house only to perform prayer and comes to this mosque, he may become as free from sins as the day his mother gave birth to him. So we hope that Allah Almighty has granted him this as well.