It is reported that Al-Fuḍayl b. ʿAyyāḍ said:
If you can be unknown, be so; it doesn’t matter if you are not known and it doesn’t matter if you are not praised. It doesn’t matter if you are blameworthy according to people if you are praiseworthy with Allāh the Mighty and Majestic.
Al-Bayhaqī, Al-Zuhd Al-Kabīr p100.