كتاب أحوال القيامة وبدء الخلق
28  
Events of the Day of Resurrection and the Beginning of Creation
(9c)
Chapter: The Beginning of Creation, and Mention of the Prophets - Section 3
(9)
باب بدءالخلق وذكر الأنبياء عليهم الصلاة والسلام - الفصل الثالث
Mishkat al-Masabih 5737
Abu Dharr told that he asked God's messenger who was the first of the prophets and he replied that it was Adam. He asked if he was really a prophet and he replied, "Yes, he was a prophet to whom a message was given." He asked God's messenger how many messengers there had been, and he replied, "There have been three hundred and between ten and twenty all told." In a version on the authority of Abu Umama Abu Dharr told that he had asked God's messenger the number which made up the full complement of the prophets, and he replied, "A hundred and twenty-four thousand among whom were three hundred and fifteen messengers all told."
وَعَنْ أَبِي ذَرٍّ قَالَ: قُلْتُ: يَا رَسُولَ اللَّهِ أَيُّ الْأَنْبِيَاءِ كَانَ أَوَّلَ؟ قَالَ: «آدَمُ» . قُلْتُ: يَا رَسُولَ اللَّهِ وَنَبِيٌّ كَانَ؟ قَالَ: «نَعَمْ نَبِيٌّ مُكَلَّمٌ» . قُلْتُ: يَا رَسُولَ اللَّهِ كم المُرْسَلُونَ؟ قَالَ: «ثَلَاثمِائَة وبضع عشر جماً غفيراً»

وَفِي رِوَايَة عَنْ أَبِي أُمَامَةَ قَالَ أَبُو ذَرٍّ: قَلْتُ يَا رَسُولَ اللَّهِ كَمْ وَفَاءُ عِدَّةِ الْأَنْبِيَاءِ؟ قَالَ: «مِائَةُ أَلْفٍ وَأَرْبَعَةٌ وَعِشْرُونَ أَلْفًا الرُّسُلُ مِنْ ذَلِكَ ثَلَاثُمِائَةٍ وَخَمْسَةَ عَشَرَ جَمًّا غَفِيرًا»

Reference : Mishkat al-Masabih 5737
In-book reference : Book 28, Hadith 206