Usamah ibn Sharik reported: The Messenger of Allah, peace and blessings be upon him, said, “Whatever Allah hates for you to do, then do not do it in private.”
Source: Ṣaḥīḥ Ibn Ḥibbān 403
Grade: Hasan li ghayrihi (fair due to external evidence) according to Al-Albani
عَنْ أُسَامَةَ بْنِ شَرِيكٍ قَالَ قَالَ رَسُولُ اللهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا كَرِهَ اللهُ مِنْكَ شَيْئًا فَلَا تَفْعَلْهُ إِذَا خَلَوْتَ
403 صحيح ابن حبان باب الإخلاص وأعمال السر
1055 المحدث الألباني خلاصة حكم المحدث حسن لغيره في السلسلة الصحيحة