The Holy Quran 51:56 — Surah Adh-Dhariyat
Arabic text
وَمَا خَلَقْتُ ٱلْجِنَّ وَٱلْإِنسَ إِلَّا لِيَعْبُدُونِ
Translation
I have created man and Jinn only to worship (serve) Me (besides their various other functions, the most important objective of creating them is for them to recognise who Allaah is).
Tafsir (excerpt) — Tafsir Usmani
Jinn and humans were created for worship: that is, by the shariah, servitude [to Allah] is what is required from their creation. That is why such a capacity has been placed in their very nature that, if they wish, they can walk the path of servitude by their own choice.
Preview. The full text opens with JavaScript enabled.