Sunan al-Darimi 170
حَدَّثَنَا يَحْيَى بْنُ حَمَّادٍ، حَدَّثَنَا شُعْبَةُ، عَنْ مُحَمَّدِ بْنِ عُبَيْدِ اللَّهِ الثَّقَفِيِّ، عَنِ الْحَارِثِ بْنِ عَمْرِو، ابْنِ أَخِي الْمُغِيرَةِ بْنِ شُعْبَةَ، عَنْ نَاسٍ مِنْ أَهْلِ حِمْصٍ مِنْ أَصْحَابِ مُعَاذٍ عَنْ مُعَاذٍ، ﵁، أَنَّ النَّبِيَّ ﷺ لَمَّا بَعَثَهُ إِلَى الْيَمَنِ قَالَ: أَرَأَيْتَ إِنْ عَرَضَ لَكَ قَضَاءٌ كَيْفَ تَقْضِي؟ " قَالَ: أَقْضِي بِكِتَابِ اللَّهِ، قَالَ: «فَإِنْ لَمْ يَكُنْ فِي كِتَابِ اللَّهِ؟». قَالَ: فَبِسُنَّةِ رَسُولِ اللَّهِ ﷺ . قَالَ: " فَإِنْ لَمْ يَكُنْ فِي سُنَّةِ رَسُولِ اللَّهِ؟. قَالَ: أَجْتَهِدُ رَأْيِي وَلَا آلُو. قَالَ: فَضَرَبَ صَدْرَهُ ثُمَّ قَالَ: «الْحَمْدُ لِلَّهِ الَّذِي وَفَّقَ رَسُولَ رَسُولِ اللَّهِ لِمَا يُرْضِي رَسُولَ اللَّهِ»
Yahya ibn Hammad narrated to us; Shuʿbah narrated to us, from Muhammad ibn ʿUbaydullah ath-Thaqafi, from al-Harith ibn ʿAmr, the nephew of al-Mughirah ibn Shuʿbah, from some people of Hims from the companions of Muʿadh, from Muʿadh, may Allah be pleased with him, that when the Prophet ﷺ sent him to Yemen, he said: "What will you do if a case comes to you; how will you judge?" He said: "I will judge by the Book of Allah." He said: "And if it is not in the Book of Allah?" He said: "Then by the Sunnah of the Messenger of Allah ﷺ." He said: "And if it is not in the Sunnah of the Messenger of Allah?" He said: "I will exercise my own judgment and spare no effort." He said: He struck his chest, then said: "Praise be to Allah who has guided the messenger of the Messenger of Allah to what pleases the Messenger of Allah."