´Abu Sa’eed Al-Khudri said:` “I heard the Messenger of Allah (ﷺ) say: ‘Allah will question His slave on the Day of Resurrection, until He says: “What kept you from denouncing evil when you saw it?” When Allah grants His slave a response, he will say: “O Lord, I hoped for Your mercy but I feared the people.”
Hadith Referenceسنن ابن ماجه / كتاب الفتن / 4017
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:إسناده حسن
Benefits and Issues: (1) Allah Ta'ala sometimes forgives sins due to a good deed.
(2) Whomever Allah Ta'ala wills to forgive, He will inspire the correct answer in his heart.
(3) Allah's mercy is very vast, but to become bold in committing sins and negligent regarding good deeds by relying solely on this is sheer misguidance.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 4017