It is narrated from Sayyiduna Abu Tha'labah al-Khushani (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "The jinn are of three kinds: one kind has wings with which they fly through the air, one kind is in the form of snakes, and one kind settles on the earth and moves on."
Hadith Referenceالمعجم الكبير للطبراني / باب اللام ألف / 18793