Chapter 7, Verse 95, The heights
سورة الأعراف
ثُمَّ بَدَّلۡنَا مَكَانَ ٱلسَّيِّئَةِ ٱلۡحَسَنَةَ حَتَّىٰ عَفَواْ وَّقَالُواْ قَدۡ مَسَّ ءَابَآءَنَا ٱلضَّرَّآءُ وَٱلسَّرَّآءُ فَأَخَذۡنَٰهُم بَغۡتَةٗ وَهُمۡ لَا يَشۡعُرُونَ
Then We changed the evil for the good, until they increased in number and in wealth, and said: "Our fathers were touched with evil (loss of health and calamities) and with good (prosperity, etc.)." So We seized them of a sudden while they were unaware.
Chapter 7, Verse 131, The heights
سورة الأعراف
فَإِذَا جَآءَتۡهُمُ ٱلۡحَسَنَةُ قَالُواْ لَنَا هَٰذِهِۦۖ وَإِن تُصِبۡهُمۡ سَيِّئَةٞ يَطَّيَّرُواْ بِمُوسَىٰ وَمَن مَّعَهُۥٓۗ أَلَآ إِنَّمَا طَٰٓئِرُهُمۡ عِندَ ٱللَّهِ وَلَٰكِنَّ أَكۡثَرَهُمۡ لَا يَعۡلَمُونَ
But whenever good came to them, they said: "Ours is this." and if evil afflicted them, they ascribed it to evil omens connected with Musa (Moses) and those with him. Be informed! Verily, their evil omens are with Allah but most of them know not.
Chapter 13, Verse 22, The Thunder
سورة الرعد
وَٱلَّذِينَ صَبَرُواْ ٱبۡتِغَآءَ وَجۡهِ رَبِّهِمۡ وَأَقَامُواْ ٱلصَّلَوٰةَ وَأَنفَقُواْ مِمَّا رَزَقۡنَٰهُمۡ سِرّٗا وَعَلَانِيَةٗ وَيَدۡرَءُونَ بِٱلۡحَسَنَةِ ٱلسَّيِّئَةَ أُوْلَٰٓئِكَ لَهُمۡ عُقۡبَى ٱلدَّارِ
and those who remain patient, seeking their Lord's Countenance, perform As-Salat (Iqamat-as-Salat), and spend out of that which We have bestowed on them, secretly and openly, and defend evil with good, for such there is a good end;
Chapter 21, Verse 35, The Prophets
سورة الأنبياء
كُلُّ نَفۡسٖ ذَآئِقَةُ ٱلۡمَوۡتِۗ وَنَبۡلُوكُم بِٱلشَّرِّ وَٱلۡخَيۡرِ فِتۡنَةٗۖ وَإِلَيۡنَا تُرۡجَعُونَ
Everyone is going to taste death, and We shall make a trial of you with evil and with good, and to Us you will be returned.
Chapter 27, Verse 11, The Ant
سورة النمل
إِلَّا مَن ظَلَمَ ثُمَّ بَدَّلَ حُسۡنَۢا بَعۡدَ سُوٓءٖ فَإِنِّي غَفُورٞ رَّحِيمٞ
"Except him who has done wrong and afterwards has changed evil for good, then surely, I am Oft-Forgiving, Most Merciful.
Chapter 28, Verse 84, The Story
سورة القصص
مَن جَآءَ بِٱلۡحَسَنَةِ فَلَهُۥ خَيۡرٞ مِّنۡهَاۖ وَمَن جَآءَ بِٱلسَّيِّئَةِ فَلَا يُجۡزَى ٱلَّذِينَ عَمِلُواْ ٱلسَّيِّـَٔاتِ إِلَّا مَا كَانُواْ يَعۡمَلُونَ
Whosoever brings good (Islamic Monotheism along with righteous deeds), he shall have the better thereof, and whosoever brings evil (polytheism along with evil deeds) then, those who do evil deeds will only be requited for what they used to do.
Chapter 75, Verse 13, The rising of the dead
سورة القيامة
يُنَبَّؤُاْ ٱلۡإِنسَٰنُ يَوۡمَئِذِۭ بِمَا قَدَّمَ وَأَخَّرَ
On that Day man will be informed of what he sent forward (of his evil or good deeds), and what he left behind (of his good or evil traditions).
Chapter 81, Verse 14, The Overthrowing
سورة التكوير
عَلِمَتۡ نَفۡسٞ مَّآ أَحۡضَرَتۡ
(Then) every person will know what he has brought (of good and evil).
Chapter 82, Verse 9, The Cleaving
سورة الإنفطار
كَلَّا بَلۡ تُكَذِّبُونَ بِٱلدِّينِ
Nay! But you deny the Recompense (reward for good deeds and punishment for evil deeds).
Chapter 90, Verse 10, The City
سورة البلد
وَهَدَيۡنَٰهُ ٱلنَّجۡدَيۡنِ
and shown him the two ways (good and evil)?