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 ‘alayhi wa sallam, is His slave and Messenger.
If some verses of the Quran seem to us to be contradictory, then this is due to our limited minds. We do not say that there is contradiction in the Quran; rather, we say that it seems to us that...
There is no contradiction between the two verses mentioned, praise be to Allaah. Scholars adopt two approaches in explaining the Ikhtilaaf (difference, seeming disagreement) between the indications of Islamic texts: either as Ikhtilaaf Tanawwu‘ ("difference of variety") or as Ikhtilaaf Tadhaadh ("difference of contradiction").
As for Ikhtilaaf Tadhaadh which involves conflict and contradiction between the indications of the texts, this is not possible in relation to the Quran as underlined earlier. As for Ikhtilaaf Tanawwu‘, there are numerous examples in relation to Quranic verses, Ahaadeeth, and the commentaries of scholars. It is a difference that ultimately leads to the same result. Let us take the following verses as an example. Allaah, The Exalted, says (what means):
· {And We have not sent you, [O Muhammad], except as a mercy to the worlds.} [Quran 21:107]
· {And We have not sent you, [O Muhammad], except as a bringer of good tidings and a warner.} [Quran 25:56]
The verses underline that the Prophet, sallallaahu ‘alayhi wa sallam, was sent to bear the glad tidings and warn mankind and this constitutes mercy from our Lord. Hence, there is no contradiction in these two verses.
The same applies to the verses in question; Allaah, The Exalted, informs us that He has created the Jinn and mankind to worship Him; doing good, for the sake of which one is tested, is part of worshipping Him. Doing good deeds consists in being sincere in them and also in them agreeing with the guidance of the Prophet, , sallallaahu ‘alayhi wa sallam.
Al-Fudhayl ibn ‘Iyaadh commented on the verse from Soorah Al-Mulk [67:2] saying: "It (The best conduct mentioned in the verse is that which) is the most sincere and most correct thereof." He was asked: "What is the most sincere and most correct thereof?" He said: "If the deed is sincere and it was not correct, then it is not accepted; and if it is correct and not sincere, it is also not accepted until it is sincere and correct. Sincere is what is done only for the sake of Allaah, and correct is that which is done in accordance with the Sunnah (of the Prophet )."
The point is that not all difference involves contradiction; there is another type of difference which is that involving variety. Allaah, The Exalted, has created us for the purpose of worshipping Him, and He only accepts the worship that is sincerely devoted to Him alone and in accordance with the Sunnah of His Messenger, sallallaahu ‘alayhi wa sallam.
Allaah Knows best.