Jami` at-Tirmidhi, Book 49, Hadith 4182 (In-Book)

Narrated Hudhaifah: that they said: "O Messenger of Allah, if you were to appoint someone as a successor." He said: "If I were to appoint a successor over you, and you were to disobey him, you would be punished. But whatever Hudhaifah narrates to you, then believe him, and whatever 'Abdullah teaches you to recite, then recite it."

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَبْدِ الرَّحْمَنِ، أَخْبَرَنَا إِسْحَاقُ بْنُ عِيسَى، عَنْ شَرِيكٍ، عَنْ أَبِي الْيَقْظَانِ، عَنْ زَاذَانَ، عَنْ حُذَيْفَةَ، قَالَ قَالُوا يَا رَسُولَ اللَّهِ لَوِ اسْتَخْلَفْتَ ‏.‏ قَالَ ‏ "‏ إِنِ اسْتَخْلَفْتُ عَلَيْكُمْ فَعَصَيْتُمُوهُ عُذِّبْتُمْ وَلَكِنْ مَا حَدَّثَكُمْ حُذَيْفَةُ فَصَدِّقُوهُ وَمَا أَقْرَأَكُمْ عَبْدُ اللَّهِ فَاقْرَءُوهُ ‏" ‏ ‏.‏ قَالَ عَبْدُ اللَّهِ فَقُلْتُ لإِسْحَاقَ بْنِ عِيسَى يَقُولُونَ هَذَا عَنْ أَبِي وَائِلٍ ‏.‏ قَالَ لاَ عَنْ زَاذَانَ إِنْ شَاءَ اللَّهُ ‏.‏ قَالَ هَذَا حَدِيثٌ حَسَنٌ وَهُوَ حَدِيثُ شَرِيكٍ ‏.‏

sunnah.com