‘Iyad ibn Ghanam reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever intends to advise one with authority on a matter, he should not do so publicly. Rather, he should take him by the hand and advise him in private. If he accepts the advice, all is well. If he does not accept it, he has fulfilled his duty.”
Source: Musnad Aḥmad 14909
Grade: Sahih (authentic) according to Al-Albani
عن عياض بن غنم قَالَ قَالَ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ أَرَادَ أَنْ يَنْصَحَ لِسُلْطَانٍ بِأَمْرٍ فَلَا يُبْدِ لَهُ عَلَانِيَةً وَلَكِنْ لِيَأْخُذْ بِيَدِهِ فَيَخْلُوَ بِهِ فَإِنْ قَبِلَ مِنْهُ فَذَاكَ وَإِلَّا كَانَ قَدْ أَدَّى الَّذِي عَلَيْهِ لَهُ
14909 مسند أحمد مسند المكيين
1096 المحدث الألباني خلاصة حكم المحدث إسناده صحيح في تخريج كتاب السنة