“Hold back your spear and go inside the house to see what drove me out.” He went inside and found a huge snake coiled on the bed. He thrust his spear at it, impaling it, then went outside and planted the spear in the courtyard. The snake writhed upon it, and no one knew which died first—the snake or the young man.’
He continued, ‘We went to the Messenger of Allah, may Allah bless him and grant him peace, told him what had happened, and said, “Pray to Allah to bring him back to life for us.” He said, “Ask forgiveness for your companion.” Then he said, “In Medina there are some jinn who have embraced Islam. If you see any of them, give it warning for three days. If it appears to you after that, kill it, for it is a devil.”’”
In another wording also reported by Muslim, the Messenger of Allah, may Allah bless him and grant him peace, said:
“These houses have jinn dwelling in them. If you see any of them, warn it three times. If it leaves, well and good; otherwise kill it, for it is a disbeliever.”
He also told them:
“Go and bury your companion.”
This is because killing jinn without right is impermissible, just as killing human beings without right is impermissible. Injustice is forbidden in all circumstances: no one may wrong anyone, even a disbeliever. Rather, the Most High says:
“And do not let the hatred of a people prevent you from being just. Be just; that is nearer to righteousness.”
Jinn take the forms of human beings and animals. They take the forms of snakes, scorpions and other creatures; of camels, cattle, sheep, horses, mules and donkeys; of birds; and of human beings. Thus Satan came to Quraysh in the form of Surāqah ibn Mālik ibn Ju‘shum when they intended to set out for Badr. The Most High says:
“And when Satan made appealing to them