Sahih al-Bukhari — Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh)) — Hadith No: 4808
Translation
Narrated Abu Huraira:The Prophet (ﷺ) said, "Last night a demon from the Jinns came to me (or the Prophet (ﷺ) said, a similar sentence) to disturb my prayer, but Allah gave me the power to overcome him. I intended to tie him to one of the pillars of the mosque till the morning so that all of you could see him, but then I remembered the Statement of my brother Solomon:--'My Lord! Forgive me and bestow on me a kingdom such as shall not belong to any other after me.' (38.35) The narrator added: Then he (the Prophet) dismissed him, rejected