Al-Kāfi

Hadith 976
intentionmajor-sins
17ـ عَنْهُ عَنِ ابْنِ فَضَّالٍ عَنِ ابْنِ بُكَيْرٍ عَنْ أَبِي عَبْدِ الله (عَلَيهِ السَّلام) قَالَ مَنْ هَمَّ بِسَيِّئَةٍ فَلا يَعْمَلْهَا فَإِنَّهُ رُبَّمَا عَمِلَ الْعَبْدُ السَّيِّئَةَ فَيَرَاهُ الرَّبُّ تَبَارَكَ وَتَعَالَى فَيَقُولُ وَعِزَّتِي وَجَلالِي لا أَغْفِرُ لَكَ بَعْدَ ذَلِكَ أَبَداً.
17. It is narrated from him (narrator of the Hadith above) from ibn Faddal from ibn Bukayr from Abu ‘Abdillah (a.s.) who has said the following: “One who thinks to commit a sin, must not commit it; perhaps a servant (of Allah) commits a sin and the Lord, the Most Blessed, the Most High, finds him in that condition. He will say, ‘I swear by my Majesty and Glory that I will never forgive you thereafter.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī