The Prophet ﷺ and the Jinn at the Mosque — The Hadith of Tying the Devil Explained
The Prophet ﷺ Wanted to Tie a Jinn to the Pillars of the Mosque — The Hadith Explained
Table of Contents
- The Hadith — Text and Chain
- Foundational Belief — Jinn Possession is Real
- The Jinn Take on Different Forms — Established Proofs
- Manuscript Images
- Scholarly Explanation of the Hadith
- Note on the Chain of Transmission
The Hadith — Text and Chain
“A demon from the jinn escaped from me last night — or something similar — to interrupt my prayer. Allah gave me power over him, so I wanted to tie him to one of the pillars of the mosque until morning and you all saw him. Then I remembered the words of my brother Solomon: ‘My Lord, grant me a kingdom such as will not belong to anyone after me.’ Ruh said: ‘So send him away, defeated.’”
Source: Sahih al-Bukhari, Book of Prayer, Chapter on the Prisoner or Debtor Being Tied in the Mosque http://hadith.al-islam.com/display/display.asp?doc=0&rec=769
Foundational Belief — Jinn Possession is Real
Qur’anic Evidence
Prophetic Evidence
The Statement of Imam Ahmad
Possession is madness, as the scholars of tafsir have stated.
The Jinn Take on Different Forms — Established Proofs
Ibn Taymiyyah (may Allah have mercy on him) said: “The black dog is a devil, and the jinn often take on its form, as well as the form of a black cat, because blackness is more capable of gathering devilish powers than other colors, and it has the power of heat.”
This is illustrated by the incident of the Ansari who found a creature in his house in the form of a snake and killed it — and the man then died because of it — whereupon the Messenger ﷺ explained: “Indeed, in Madinah there are jinn who have become Muslims.”
Manuscript Images





Scholarly Explanation of the Hadith
Ibn Battal’s Explanation — Sharh Sahih al-Bukhari 2 109
As for the people other than the Messenger ﷺ, this is not possible and no one sees the devil in his form except the Messenger; because God says: ‘Indeed, he and his tribe see you from where you do not see them’ [Al-A’raf: 27]. But all people see him if he takes on a form other than his own and imagines himself in a form other than his own — like the one who was stabbed by the Ansari when he found him in his house in the form of a snake, so he killed him, and the man died because of him, and the Messenger explained that in his saying: ‘Indeed, in Madinah there are jinn who have become Muslims.’
And his saying: ‘He sent him back, disgraced’ — it is said: ‘The dog was disgraced’ means he was distant, and ‘I disgraced him’ means I said to him: ‘Go away.’”
Minar al-Qari — Sharh Mukhtasar Sahih al-Bukhari 2 34-35
‘He escaped from me last night’ — means that this rebel from the jinn came to me during prayer.
‘To interrupt my prayer’ — meaning to distract me with him, and interrupt my humility in prayer by confusing my thoughts, and come between me and my qiblah, and between me and my communion with my Lord. It does not mean that he invalidates his prayer and spoils it for him, because the mere whispering of Satan does not interrupt the prayer.
‘So Allah enabled me to overpower him’ — means that Allah enabled me to overpower that Satan, so I repelled him from myself. In Muslim’s narration: ‘So I frightened him’ — means I choked him.
‘So I wanted to tie him to one of the pillars of the mosque, until morning comes and you see him’ — tied during the day while the children of the city play with him.
‘Then I remembered the words of my brother Solomon: My Lord, forgive me and grant me a kingdom such as will not belong to anyone after me’ — as he asked God to single him out for possession of the jinn, so I refused him.”
Note on the Chain of Transmission
To be continued with the rest of the response.