The Messenger of Allah ﷺ said, "Snakes are jinn that have been transformed."
حدثنا إبراهيم بن الحجاج حدثنا عبد العزيز بن المختار عن خالد الحذاء عن عكرمة
قال رسول الله ﷺ الحيات مسخ الجن
No references are available.
Its isnad is sahih, and it is an abridgment of what preceded it.