Abu Nu’aym reported: Maymun ibn Mihran said, “Whoever commits evil in secret, let him repent in secret. Whoever commits evil in public, let him repent in public. Verily, Allah will forgive him and he will not condemn him, but people will condemn him and they will not forgive him.”
Source: Ḥilyat al-Awliyā’ 4988
عن أبي نعيم عَنْ مَيْمُونٍ بن مِهْرَانَ رحمه الله قَالَ مَنْ أَسَاءَ سِرًّا فَلْيَتُبْ سِرًّا وَمَنْ أَسَاءَ عَلانِيَةً فَلْيَتُبْ عَلانِيَةً فَإِنَّ اللَّهَ يَغْفِرُ وَلا يُعَيِّرُ وَالنَّاسُ يُعَيِّرُونَ وَلا يَغْفِرُونَ
4988 حلية الأولياء لأبي نعيم ميمون بن مهران