I pledged allegiance to the Messenger of Allah ﷺ to give sincere counsel to every Muslim.
أخبرنا محمد بن عبد الله بن يزيد قال حدثنا سفيان عن زياد بن علاقة
بايعت رسول الله ﷺ على النصح لكل مسلم
Bukhari narrated it in the Book of Conditions, Chapter on What Conditions Are Permissible in Islam, Judgments, and Pledges, hadith 2714, and Muslim in the Book of Faith, Chapter on Explaining That Religion Is Sincere Counsel, hadith 98/56, from the hadith of Sufyan bin Uyayna through the same chain, and it is in Al-Kubra, hadith 7777.