Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:3621Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Saʿīd b. Abū ʿAmr > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Usayd b. ʿĀṣim > al-Ḥusayn b. Ḥafṣ > Sufyān > Jaʿfar b. Burqān > Nāfiʿ > Ibn ʿUmar

[Machine] "If you find the imam in a certain state, do as he does, as the meaning of this has been narrated as elevated from the hadith of Muadh bin Jabal."  

البيهقي:٣٦٢١وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو سَعِيدِ بْنُ أَبِي عَمْرٍو قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا أُسَيْدُ بْنُ عَاصِمٍ ثنا الْحُسَيْنُ بْنُ حَفْصٍ عَنْ سُفْيَانَ ثنا جَعْفَرُ بْنُ بُرْقَانَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ قَالَ

إِذَا وَجَدْتَ الْإِمَامَ عَلَى حَالٍ فَاصْنَعْ كَمَا يَصْنَعُ وَقَدْ رُوِيَ مَعْنَى هَذَا مَرْفُوعًا مِنْ حَدِيثِ مُعَاذِ بْنِ جَبَلٍ