[Machine] From some people of the people of Hims, from the companions of Mu'adh, from Mu'adh, the Prophet ﷺ, when he sent him to Yemen, asked: "What would you do if you were faced with a legal matter?" He said, "I would judge according to the Book of Allah." The Prophet ﷺ said, "And if it is not in the Book of Allah?" He said, "Then I would judge according to the Sunnah of the Messenger of Allah." The Prophet ﷺ said, "And if it is not in the Sunnah of the Messenger of Allah?" He said, "I would strive to come to a conclusion based on my own reasoning." The Prophet ﷺ said, "Then you have done your best and Allah will reward the Messenger of the Messenger of Allah for what pleases the Messenger of Allah."
عَنْ نَاسٍ مِنْ أَهْلِ حِمْصٍ مِنْ أَصْحَابِ مُعَاذٍ عَنْ مُعَاذٍ أَنَّ النَّبِيَّ ﷺ لَمَّا بَعَثَهُ إِلَى الْيَمَنِ قَالَ أَرَأَيْتَ إِنْ عَرَضَ لَكَ قَضَاءٌ كَيْفَ تَقْضِي؟ قَالَ أَقْضِي بِكِتَابِ اللَّهِ قَالَ «فَإِنْ لَمْ يَكُنْ فِي كِتَابِ اللَّهِ؟» قَالَ فَبِسُنَّةِ رَسُولِ اللَّهِ ﷺ قَالَ فَإِنْ لَمْ يَكُنْ فِي سُنَّةِ رَسُولِ اللَّهِ؟ قَالَ أَجْتَهِدُ رَأْيِي وَلَا آلُو قَالَ فَضَرَبَ صَدْرَهُ ثُمَّ قَالَ «الْحَمْدُ لِلَّهِ الَّذِي وَفَّقَ رَسُولَ رَسُولِ اللَّهِ لِمَا يُرْضِي رَسُولَ اللَّهِ»