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:20312Abū Naṣr b. Qatādah al-Anṣārī And ʾAbū Ḥāzim al-Ḥāfiẓ > Abū al-Faḍl b. Khamīrūwayh > Aḥmad b. Najdah > Saʿīd b. Manṣūr > Hushaym > Sayyār > al-Shaʿbī > Lammā Baʿath ʿUmar b. al-Khaṭṭāb Shurayḥ > Qaḍāʾ al-Kūfah

[Machine] Look at what is clear to you in the book of Allah, so do not ask anyone about it. And whatever is not clear to you in the book of Allah, follow the Sunnah in it. And whatever is not clear to you in the Sunnah, then strive in your opinion regarding it.  

البيهقي:٢٠٣١٢أَخْبَرَنَا أَبُو نَصْرِ بْنُ قَتَادَةَ الْأَنْصَارِيُّ وَأَبُو حَازِمٍ الْحَافِظُ قَالَا ثنا أَبُو الْفَضْلِ بْنُ خَمِيرُوَيْهِ أنبأ أَحْمَدُ بْنُ نَجْدَةَ ثنا سَعِيدُ بْنُ مَنْصُورٍ ثنا هُشَيْمٌ ثنا سَيَّارٌ عَنِ الشَّعْبِيِّ قَالَ لَمَّا بَعَثَ عُمَرُ بْنُ الْخَطَّابِ ؓ شُرَيْحًا عَلَى قَضَاءِ الْكُوفَةِ قَالَ

انْظُرْ مَا تَبَيَّنَ لَكَ فِي كِتَابِ اللهِ فَلَا تَسْأَلْنَ عَنْهُ أَحَدًا وَمَا لَمْ يَتَبَيَّنْ لَكَ فِي كِتَابِ اللهِ فَاتَّبِعْ فِيهِ السُّنَّةَ وَمَا لَمْ يَتَبَيَّنْ لَكَ فِي السُّنَّةِ فَاجْتَهَدْ فِيهِ رَأْيَكَ  


See similar narrations below:

Collected by Suyūṭī
suyuti:2-3575bal-Shaʿbi > Lammā Baʿath ʿUmar Shurayḥ > Qaḍāʾ al-Kūfah
Request/Fix translation

  

السيوطي:٢-٣٥٧٥b

"عَنِ الشَّعْبِىِّ قَالَ: لَمَّا بَعَثَ عُمَرُ شُرَيْحًا عَلَى قَضَاءِ الْكُوفَةِ قَاَل: (انظر) مَا تَبَيَّن لَكَ في كِتَابِ اللهِ فَلاَ تَسْأَلْ عَنْهُ أَحَدًا، وَمَا لَمْ يَتَبَيَّنْ لَكَ في كِتَابِ اللهِ فَاتَّبِعْ فِيهِ السُّنَّةَ، وَمَا لَمْ يَتَبَيَّنْ لَكَ في السُّنَّةِ فَاجْتَهِدْ فِيهِ رَأيَكَ".  

[ص] سعيد بن منصور [ق] البيهقى في السنن