Every creation of the Almighty Allah has been created for some specific reason and purpose, namely, the sun, the trees, water, the wind. Explaining the purpose for the creation of Man, the Almighty Allah states: Wa ma khalaqtul Jinna wal insa illa liya’budun – “I have not created Man and Jinn, but that they worship Me.” (Ad Dhaariyat: Verse 56)
Worship can only be performed if there is recognition. In other words, mankind and Jinn have been created to recognize the Almighty Allah. The question that arises is, what is the outcome of this recognition? It means that the more we recognize Allah, the more we worship Him.
There is a Hadith-e-Qudsi found in the Sahih Bukhari explaining this: The Prophet (sallal laahu alaihi wasallam) has explained that the Almighty Allah has stated: “He who has caused enmity with My Wali (Friend), I give him declaration of war. Among those acts through which My slave achieves My closeness, the most beloved are the Fardh (Compulsory) acts. My slave also achieves My closeness through the Nafil (Optional) deeds, till I make him into My beloved. When he becomes My beloved, I become his ears through which he listens, his eyes through which he sees, his hands by which he holds, his feet by which he walks. When he pleads to Me for anything I definitely bestow it on him. When he seeks refuge in Me from any bad deed, then I definitely save him from it.”
In the following verse, Almighty Allah is explaining how we can achieve His closeness. He states: Kul in kuntum tuhiboonal laaha fattabi’ooni yuh’bibkumul laahu – “Say (O Muhammad to them), if you love Allah follow me, Allah will love you.” (Surah Ale Imraan: Verse 31)