Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:1210Maḥmūd > Shabābah > Shuʿbah > Muḥammad b. Ziyād > Abū Hurayrah

The Prophet ﷺ once offered the prayer and said, "Satan came in front of me and tried to interrupt my prayer, but Allah gave me an upper hand on him and I choked him. No doubt, I thought of tying him to one of the pillars of the mosque till you get up in the morning and see him. Then I remembered the statement of Prophet Solomon, 'My Lord ! Bestow on me a kingdom such as shall not belong to any other after me.' Then Allah made him (Satan) return with his head down (humiliated)."  

البخاري:١٢١٠حَدَّثَنَا مَحْمُودٌ حَدَّثَنَا شَبَابَةُ حَدَّثَنَا شُعْبَةُ عَنْ مُحَمَّدِ بْنِ زِيَادٍ عَنْ أَبِي هُرَيْرَةَ ؓ

عَنِ النَّبِيِّ ﷺ أَنَّهُ صَلَّى صَلاَةً قَالَ إِنَّ الشَّيْطَانَ عَرَضَ لِي فَشَدَّ عَلَىَّ لِيَقْطَعَ الصَّلاَةَ عَلَىَّ فَأَمْكَنَنِي اللَّهُ مِنْهُ فَذَعَتُّهُ وَلَقَدْ هَمَمْتُ أَنْ أُوثِقَهُ إِلَى سَارِيَةٍ حَتَّى تُصْبِحُوا فَتَنْظُرُوا إِلَيْهِ فَذَكَرْتُ قَوْلَ سُلَيْمَانَ عَلَيْهِ السَّلاَمُ رَبِّ هَبْ لِي مُلْكًا لاَ يَنْبَغِي لأَحَدٍ مِنْ بَعْدِي فَرَدَّهُ اللَّهُ خَاسِيًا ثُمَّ قَالَ النَّضْرُ بْنُ شُمَيْلٍ فَذَعَتُّهُ بِالذَّالِ أَىْ خَنَقْتُهُ وَفَدَعَّتُّهُ مِنْ قَوْلِ اللَّهِ {يَوْمَ يُدَعُّونَ} أَىْ يُدْفَعُونَ وَالصَّوَابُ فَدَعَتُّهُ إِلاَّ أَنَّهُ كَذَا قَالَ بِتَشْدِيدِ الْعَيْنِ وَالتَّاءِ  


See similar narrations below:

Collected by Suyūṭī
suyuti:5651a
Request/Fix translation

  

السيوطي:٥٦٥١a

"إِنَّ الشَّيطَانَ عَرَضَ لي فَشَدَّ عَليَّ. لِيَقْطَعَ الصَّلاةَ عَلَيَّ. فَأَمْكَنَنِى الله مِنْه فَذَعَتُّهُ ، وَلَقَدْ هَمَمْتُ أَنْ أُوثِقَهُ إِلى سَارِيَة حتَّى تُصْبِحُوا فَتَنْظُرُوا إِلَيه، فَذَكَرْتُ قَوْلَ سُلَيمَانَ: {رَبِّ اغْفِرْ لِي وَهَبْ لِي مُلْكًا لَا يَنْبَغِي لِأَحَدٍ مِنْ بَعْدِي} "فَرَدَّهُ الله خَاسِئًا".  

[خ] البخاري عن أبي هريرة