All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu 'alyhi wa sallam, is His slave and Messenger.
The world of the Jinn is one of the matters of Ghayb (the Unseen) that no one knows about except from Sharee’ah texts. Allaah The Almighty Says (what means):
Jinns are eligible and required to fulfill the religious assignments that were revealed to the Prophet, sallallaahu ‘alayhi wa sallam, according to the Quran and Sunnah. This issue was previously discussed in Fatwa 18484.
Their gifts to humans may come through one of two means. The first is unlawful, which is when a Jinn asks a human to commit certain prohibitions in return for the gift the human desires, so the Jinn steals the desired object from another person. Allaah The Almighty Says (what means):
Shaykh Al-Islam Ibn Taymiyyah said that sometimes people seek to please the Jinns by committing acts of apostasy so that the Jinns will then do for them what they want, perhaps even steal money from another person for them.
There is no doubt that dealing with Jinns in this way is prohibited. For further information regarding Jinns using humans, please refer to Fatwa 5701.
The second way is lawful. This takes place when a Jinn fetches a permissible item that is not anyone’s property, such as wood from the forest, wild fruit, gold or silver from the mountains, etc. This is permissible because it does not involve transgression. Jinns are known for their ability to fetch items from faraway places in a short period of time. This happened with the Prophet Sulaymaan (Solomon) when he asked them to bring the throne of Bilqees (the Queen of Sheba). Allaah The Almighty Says (what means):
Nevertheless, you should know that dealing with Jinn usually leads to committing prohibitions that may, most probably, lead to Shirk (polytheism), Allaah forbid. Remember that Allaah The Almighty has guided people to sufficient lawful means of earning a living.
Allaah Knows best.