Wa laqad jā'akum yūsufu min qablu bil-bayyināti famā ziltum fī syakkim mimmā jā'akum bih(ī), ḥattā iżā halaka qultum lay yab‘aṡallāhu mim ba‘dihī rasūlā(n), każālika yuḍillullāhu man huwa musrifum murtāb(un).
And Joseph had already come to you before with clear proofs, but you remained in doubt of that which he brought to you, until when he died, you said, 'Never will Allāh send a messenger after him.' Thus does Allāh leave astray he who is a transgressor and skeptic."
Joseph came to you before Moses with clear proof for the oneness of Allah, but you remained in doubt and denial of what he brought, until when he died you increased in doubt and uncertainty, and you said: “Allah will never send a messenger after him”. Just as you are misguided from the truth, Allah leads astray every person who trespasses the limits of Allah and doubts His oneness.
Al-Mukhtasar in Interpreting the Noble Quran, Tafsir Center for Quranic Studies, via QuranEnc.com.
Tajweed rules in Quran 40:34
This ayah has 12 tajweed readings: ikhfa (3), idgham (3), iqlab (1), ghunnah (1), qalqalah (4).
Ikhfa
Nūn sākinah or tanwīn (and mīm sākinah before bā) is read hidden, with a nasal sound.
مِن قَبۡلُNūn sākinah followed by ق
جَآءَكُم بِهِۦۖMīm sākinah followed by ب
رَسُولٗاۚ كَذَٰلِكَTanwīn followed by ك
Idgham
A letter without a vowel merges into the next letter, which carries a shaddah.
شَكّٖ مِّمَّاTanwīn followed by م
لَن يَبۡعَثَNūn sākinah followed by ي
مُسۡرِفٞ مُّرۡتَابٌTanwīn followed by م
Iqlab
Nūn sākinah or tanwīn before bā turns into a mīm sound, with a nasal sound.
مِنۢ بَعۡدِهِۦNūn sākinah followed by ب
Ghunnah
Nūn or mīm with a shaddah is held with a nasal sound for about two counts.
مِّمَّاMīm with shaddah
Qalqalah
The letters ق ط ب ج د without a vowel, or at a stop, are read with an echo.