«إن عفريتا من الجن تفلت علي البارحة ليقطع على الصلاة فأمكنني الله منه فذعته وأردت أن أربطه إلى سارية من سواري المسجد حتى تصبحوا وتنظروا إليه كلكم فذكرت قول أخي سليمان {رَبِّ اغْفِرْ لِي وَهَبْ لِي مُلْكاً لا يَنْبَغِي لِأَحَدٍ مِنْ بَعْدِي} فرده الله خاسئا»
The Prophet (peace and blessings be upon him) said:
"Last night a rebellious one from among the jinn suddenly attacked me in order to break my prayer, but Allah Almighty gave me power over him and I choked him. I intended to tie him to one of the pillars of the mosque so that in the morning all of you could see him. But then I remembered this supplication of my brother Sulayman (peace be upon him): 'My Lord, forgive me and grant me a kingdom such as will not belong to anyone after me' [Surah Sad: 35], so Allah Almighty sent him (the jinn) back humiliated and disgraced."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 2111