Translation of the verse 65 from Surah Az-Zumar : Number of verses 75 - - page 465 - Part 24.
And indeed it has been revealed to you (O Muhammad SAW), as it was to those (Allah's Messengers) before you: "If you join others in worship with Allah, (then) surely (all) your deeds will be in vain, and you will certainly be among the losers."
And it was already revealed to you and to those before you that if you should associate [anything] with Allah, your work would surely become worthless, and you would surely be among the losers."
(39:65) (Tell them clearly that) it was revealed to you and to all Prophets before you: 'If you associate any others with Allah in His Divinity, your works will surely come to naught *74 and you will certainly be among the losers.'
*74) That is, "No act which is performed along with shirk will be adjudged as a righteous act, and no one who, being a mushrik, performs many acts as good acts in his personal judgement, will deserve any reward for them, and his whole life work will be deemed to have gone waste."