Sura An-Nisaa

4:62

فَكَيْفَ إِذَآ أَصَٰبَتْهُم مُّصِيبَةٌۢ بِمَا قَدَّمَتْ أَيْدِيهِمْ ثُمَّ جَآءُوكَ يَحْلِفُونَ بِٱللَّهِ إِنْ أَرَدْنَآ إِلَّآ إِحْسَٰنًۭا وَتَوْفِيقًا

Och om de drabbas av en motgång på grund av sina [egna] handlingar, kommer de till dig och försäkrar vid Gud: "Vi ville bara göra gott och jämka samman [olika åsikter]".

Tafsir 4:62

How will their situation be when misfortunes come upon them because of the sins they have committed, and then they come to you, O Messenger, apologising and swearing by Allah that when they turned to other things to try and settle their disagreements they were only trying to do good and bring about reconciliation between the people who were disagreeing. What they say is false, and doing good involves following the rulings of Allah’s sacred law.