Toggle above to switch between keyword search and direct hadith lookup

Bayhaqi 20342 — What the judge rules by and the mufti gives fatwa

أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ، ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ، ثنا سَعِيدُ بْنُ عُثْمَانَ التَّنُوخِيُّ الْحِمْصِيُّ، ثنا مُعَاوِيَةُ بْنُ حَفْصٍ، كُوفِيٌّ،، أنبأ عَلِيُّ بْنُ مُسْهِرٍ، وَابْنِ فُضَيْلٍ، وَأَسْبَاطٌ وَغَيْرُهُ، عَنْ أَبِي إِسْحَاقَ الشَّيْبَانِيِّ، عَنِ الشَّعْبِيِّ، عَنْ شُرَيْحٍ، أَنَّ عُمَرَ بْنَ الْخَطَّابِ رَضِيَ اللهُ عَنْهُ كَتَبَ إِلَيْهِ: " إِذَا جَاءَكُمْ أَمْرٌ فِي كِتَابِ اللهِ عَزَّ وَجَلَّ فَاقْضِ بِهِ، وَلَا يَلْفِتَنَّكَ عَنْهُ الرِّجَالُ، فَإِنْ أَتَاكَ مَا لَيْسَ فِي كِتَابِ اللهِ، فَانْظُرْ سُنَّةَ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَاقْضِ بِهَا، فَإِنْ جَاءَكَ مَا لَيْسَ فِي كِتَابِ اللهِ، وَلَمْ يَكُنْ فِيهِ سُنَّةٌ مِنْ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، فَانْظُرْ مَا اجْتَمَعَ عَلَيْهِ النَّاسُ فَخُذْ بِهِ، فَإِنْ جَاءَكَ مَا لَيْسَ فِي كِتَابِ اللهِ، وَلَمْ يَكُنْ فِيهِ سُنَّةٌ مِنْ رَسُولِ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ، وَلَمْ يَتَكَلَّمْ فِيهِ أَحَدٌ قَبْلَكَ، فَاخْتَرْ أِيَّ الْأَمْرَيْنِ شِئْتَ، إِنْ شِئْتَ أَنْ تَجْتَهِدَ بِرَأْيِكَ، ثُمَّ تُقَدِّمَ فَتُقَدِّمَ، وَإِنْ شِئْتَ أَنْ تُأَخِّرَ فَتُأَخِّرَ، وَلَا أَرَى التَّأَخُّرَ إِلَّا خَيْرًا لَكَ ". رَوَاهُ سُفْيَانُ الثَّوْرِيُّ عَنْ أَبِي إِسْحَاقَ الشَّيْبَانِيِّ بِمَعْنَاهُ.
Imam al-Sha'bi (may Allah have mercy on him) narrates from Qadi Shurayh (may Allah have mercy on him) that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) wrote to him: When the ruling on a matter is found in the Qur'an, judge according to it, and do not let people turn you away from it. If it is not in the Qur'an, then look into the Sunnah of the Messenger (peace and blessings be upon him); if you find it, judge according to it. If it is in neither the Qur'an nor the Sunnah, then judge according to what the people have agreed upon (ijma'). If neither the Qur'an, the Sunnah nor the opinion of the people is available, then choose whichever course you like: if you wish, exercise your own judgement (ijtihad), then either act on it at once or defer it, though deferring is better.
Hadith Reference السنن الكبرى للبيهقي / كتاب آداب القاضي / 20342