Hadith 4148
Mishkat al-Masabih
Game and Animals Which May Be Slaughtered · Lawful and Unlawful Food - Section 3
Arabic
وَعَن أبي ثعلبةَ الخُشَنيَّ يَرْفَعُهُ: «الْجِنُّ ثَلَاثَةُ أَصْنَافٍ صِنْفٌ لَهُمْ أَجْنِحَةٌ يَطِيرُونَ فِي الْهَوَاءِ وَصِنْفٌ حَيَّاتٌ وَكِلَابٌ وَصِنْفٌ يُحلُّونَ ويظعنونَ» . رَوَاهُ فِي شرح السنَّة
English translation
Abu Tha'laba al-Khushani traced to the Prophet (ﷺ) the saying that the jinn are of three classes, one which have wings and fly in the air, one which consists of snakes and dogs, and one which stay in places and travel about. It is transmitted in Sharh as-sunna.