Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:28:17

He said, "My Lord, for the favor You bestowed upon me, I will never be an assistant to the criminals."  

He said, ‘My Lord, forasmuch as You have been gracious to me, with forgiveness, protect me ˹so˺, I will never be a partisan, a supporter, of the criminals’, the disbelievers henceforth, if you were to protect me.
القرآن:٢٨:١٧

قَالَ رَبِّ بِمَا أَنْعَمْتَ عَلَيَّ فَلَنْ أَكُونَ ظَهِيرًا لِلْمُجْرِمِينَ  

{قال رب بما أنعمت} بحق إنعامك {عليَّ} بالمغفرة اعصمني {فلن أكون ظهيراً} عوناً {للمجرمين} الكافرين بعد هذه إن عصمتني.