Abu Salih, may Allah have mercy on him, said in the explanation of Allah the Exalted’s statement: ﴿وَمَاأَصَابَكَمِنْسَيِّئَةٍفَمِنْنَفْسِكَ﴾: This is because of your sin, and indeed We had decreed it for you.
Hadith Referenceسنن سعید بن منصور / كتاب التفسير / 662