Az-Zumar • EN-TAFSIR-IBN-ABBAS
﴿ وَلَقَدْ أُوحِىَ إِلَيْكَ وَإِلَى ٱلَّذِينَ مِن قَبْلِكَ لَئِنْ أَشْرَكْتَ لَيَحْبَطَنَّ عَمَلُكَ وَلَتَكُونَنَّ مِنَ ٱلْخَٰسِرِينَ ﴾
“And yet, it has already been revealed to thee [O man,] as well as to those who lived before thee, that if thou ever ascribe divine powers to aught but God, all thy works shall most certainly have been in vain: for [in the life to come] thou shalt most certainly be among the lost.”
(And verily it hath been revealed unto thee) in the Qur'an (as unto those before you) among the messengers ((saying): If thou ascribe a partner to Allah thy work will fail) in that state of idolatry (and thou indeed will be among the losers) in that you will be punished.