The Jinns and Animals
There is not an animal (that lives) on the earth, nor a being that flies on its wings, but (forms part of) communities like you.Nothing have we omitted from the Book, and they (all) shall be gathered to their Lord in the end. (Qur'an, 6:38)
When, toward the close of day, nobly-bred, swift-footed steeds were brought before him, he [Solomon] said: "Truly do I love the love of good because of the remembrance of my Lord"—[repeating these words as the steeds raced away,] until they were hidden by the veil [of dust]. [Solomon said:] "Return them to me!" And he set about stroking their shanks and necks. (Qur'an, 38:31-33)
These verses indicate that, like the hoopoe, these horses can disappear from view behind a veil of dust. This may mean that the horses are jinns and can slip in a moment into the jinn world where people cannot see them.
Or, they may be horses but controlled by jinns. The words "return them to me" explains that these horses were brought by others to Prophet Solomon (pbuh), and that these others may have been jinns.
Then when We decreed that he [Solomon] should die, nothing divulged his death to them except the earthworm that ate his staff, so that when he fell down, it was made clear to the jinn that if they had truly had knowledge of the Unseen, they need not have stayed there, suffering humiliating punishment. (Qur'an, 34:14)
Again, the earthworm (dabbat al-ard) mentioned here may have been a jinn. (God knows the truth.)
We tested Solomon and placed a lifeless body on his throne. Then he returned. (Qur'an, 38:34)
Perhaps this corpse was the body of a dead jinn. It may have been left on the throne and taken back in a moment into the jinn world. The words "Then he returned" may indicate that this is what actually happened.
Or, a human corpse could have been left on the throne and been taken back in a moment by jinns. The Qur'an mentions that a demon of the jinns brought the Queen of Saba's throne very quickly from her palace to Prophet Solomon's (pbuh).