Sahih al-Bukhari 6611
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَا اسْتُخْلِفَ خَلِيفَةٌ إِلاَّ لَهُ بِطَانَتَانِ بِطَانَةٌ تَأْمُرُهُ بِالْخَيْرِ وَتَحُضُّهُ عَلَيْهِ، وَبِطَانَةٌ تَأْمُرُهُ بِالشَّرِّ وَتَحُضُّهُ عَلَيْهِ، وَالْمَعْصُومُ مَنْ عَصَمَ اللَّهُ "
Narrated Abu Sa`id Al-Khudri:
That the Prophet (ﷺ) said, "No Caliph is appointed but has two groups of advisors: One group advises him to do good and urges him to adopt it, and the other group advises him to do bad and urges him to adopt it; and the protected is the one whom Allah protects."
Full reference and source
Sahih al-Bukhari 6611 In-book : Book 82, Hadith 17 USC-MSA web (English) : Vol. 8, Book 77, Hadith 608 (deprecated)
View source on Sunnah.com (opens in a new tab)