Al-Kāfi

Hadith 1020
major-sinsrepentance
3ـ عَلِيُّ بْنُ إِبْرَاهِيمَ عَنْ أَبِيهِ عَنِ ابْنِ أَبِي عُمَيْرٍ عَنْ مَنْصُورِ بْنِ يُونُسَ عَنْ أَبِي بَصِيرٍ قَالَ سَمِعْتُ أَبَا عَبْدِ الله (عَلَيهِ السَّلام) يَقُولُ لا وَالله لا يَقْبَلُ الله شَيْئاً مِنْ طَاعَتِهِ عَلَى الإصْرَارِ عَلَى شَيْ‏ءٍ مِنْ مَعَاصِيهِ.
3. Ali ibn Ibrahim has narrated from his father from Ibn Abi ‘Umayr from Mansur ibn Yunus from abu Basir who has said the following: “I heard Abu ‘Abdillah (a.s.) saying, ‘No, I swear by Allah, Allah does not accept any act of one’s obedience to Him when one is persisting in disobedience to Him.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī