Sura Az-Zumar

39:65

وَلَقَدْ أُوحِىَ إِلَيْكَ وَإِلَى ٱلَّذِينَ مِن قَبْلِكَ لَئِنْ أَشْرَكْتَ لَيَحْبَطَنَّ عَمَلُكَ وَلَتَكُونَنَّ مِنَ ٱلْخَٰسِرِينَ

Men det har uppenbarats för dig liksom för dina föregångare att om någon sätter medhjälpare vid Guds sida skall allt vad han har åstadkommit [i denna värld] gå om intet och [i nästa liv] skall han höra till förlorarna.

Tafsir 39:65

Allah had revealed to you, O Messenger, and to the messengers before you: If you worship others together with Allah the reward of your good deeds will be void and you will be of the losers in the world due to the loss of your religion and in the Hereafter due to the punishment.