Surah Az-Zumar

39:65

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

Dan sesungguhnya telah diwahyukan kepadamu (wahai Muhammad) dan kepada Nabi-nabi yang terdahulu daripadamu: "Demi sesungguhnya! jika engkau (dan pengikut-pengikutmu) mempersekutukan (sesuatu yang lain dengan Allah) tentulah akan gugur amalmu, dan engkau akan tetap menjadi dari orang-orang yang rugi.

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.