Mishkat al-Masabih
Mishkat al-Masabih 258
وَعَنْ أَبِي الدَّرْدَاءِ قَالَ: سُئِلَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: مَا حَدُّ الْعِلْمِ الَّذِي إِذَا بَلَغَهُ الرَّجُلُ كَانَ فَقِيهًا؟ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «من حَفِظَ عَلَى أُمَّتِي أَرْبَعِينَ حَدِيثًا فِي أَمْرِ دِينِهَا بَعَثَهُ اللَّهُ فَقِيهًا وَكُنْتُ لَهُ يَوْمَ الْقِيَامَة شافعا وشهيدا»
Abū al-Dardāʾ reported that the Messenger of God was asked: ‘What is the threshold of knowledge at which a person becomes a faqīh?’ The Messenger of God replied: ‘Whoever preserves for my community forty reports concerning its religion, God will raise him on the Day of Resurrection as a faqīh, and I will be an intercessor and witness for him.’
Translation notes
The accompanying grading labels this report weak. The Arabic source block does not include a transmitter attribution.