Do We Have To Repent For Every Minor Sin Ever Committed?
We Muslims have been asked to refrain from great sins and acts of vulgarity ( Quran, 42:37; 53:32 ) which result in major sins and these sins are mentioned in Quran (17:22-39) . I f a person is able to abstain from disobeying these directives, then its reward is that his minor sins will be forgiven by the Merciful Lord otherwise all his major and minor sins will be recorded in the register of his deeds and he will have to give their account: إِن تَجْتَنِبُواْ كَبَآئِرَ مَا تُنْهَوْنَ عَنْهُ نُكَفِّرْ عَنكُمْ سَيِّئَاتِكُمْ وَنُدْخِلْكُم مُّدْخَلاً كَرِيمًا If you abstain from the major sins of what is being prohibited to you, We shall forgive your minor sins and shall make you enter a place of honour . (4:31) I must also add that a muslim is a human being and not an emotionless robot, where he asks forgiveness for his major sins but doesn’t ask forgiveness for his minor sins. Instead, we should expect a Muslim to be asking forgiveness for all his sins, irrespective of their gravity, especially the one who has consciously accepted Islam as his/her religion. The current dilemma that you are facing, I think it would be best that you mention your guilt in front of your friend instead of putting label on him as being a part of this sin. If your friend feels the same way at the end as you, then hopefully he will also feel the same level of guilt. You job will be done as soon as you do that. Also, I am getting an idea that you actually didn’t copy any code, but you’re concerned that you may have taken some inspiration from those codes. If this is the case, then this means that you didn’t intentionally commit a sin here and if the disobedience is unintentional, God will not hold a person accountable. His law is that if a person commits a misdeed unintentionally, He will not punish him. While stating a directive about adopted sons, the Quran says: وَلَيْسَ عَلَيْكُمْ جُنَاحٌ فِيمَا أَخْطَأْتُم بِهِ وَلَكِن مَّا تَعَمَّدَتْ قُلُوبُكُمْ وَكَانَ اللَّهُ غَفُورًا رَّحِيمًا And the mistake you have made in this matter shall be forgiven, but in what your hearts make an intention shall not be forgiven. God is Ever-Forgiving and Ever-Merciful . (33:5) I do not know all the facts concerning your situation, therefore, my conclusion regarding your situation might be wrong. You’re in a better position to undertsand these principles from Quran as mentioned above ( and detailed links given below ) and then apply to your situation. Following thread-link details the ten commandments of Quran which result in major sins ( Kabeera Gunnah ) if one deviates from them: Discussion 53800 • Reply 53844 Following video summarizes the above point : https://youtu.be/4mONgMguYQw