[Machine] I entered upon the Messenger of Allah ﷺ while he was in the mosque, and I seized the opportunity to have a private conversation with him. He said to me, "O Abu Dharr, the mosque has a greeting." I asked him, "What is its greeting, O Messenger of Allah?" He said, "Two units of prayer." So, I performed the two units of prayer, then he turned towards me and I said, "O Messenger of Allah, you have commanded me to pray, so what is prayer?" He said, "It is a prescribed act of worship. Whoever wishes may perform it in lesser or greater quantity." I asked him, "O Messenger of Allah, which actions are most beloved to Allah?" He said, "Belief in Allah." Then, he mentioned the hadith until he said, "O Messenger of Allah, how many prophets are there?" He said, "One hundred and twenty-four thousand prophets." I asked, "How many of them are messengers?" He said, "Three hundred and thirteen." And he mentioned the rest of the hadith.
Note: The accuracy of the translation has been maintained, including the mention of the author's opinion at the end.
دَخَلْتُ عَلَى رَسُولِ اللَّهِ ﷺ وَهُوَ فِي الْمَسْجِدِ فَاغْتَنَمْتُ خَلْوَتَهُ فَقَالَ لِي «يَا أَبَا ذَرٍّ إِنَّ لِلْمَسْجِدِ تَحِيَّةً» قُلْتُ وَمَا تَحِيَّتُهُ يَا رَسُولَ اللَّهِ؟ قَالَ «رَكْعَتَانِ» فَرَكَعْتُهُمَا ثُمَّ الْتَفَتَ إِلَيَّ فَقُلْتُ يَا رَسُولَ اللَّهِ إِنَّكَ أَمَرْتَنِي بِالصَّلَاةِ فَمَا الصَّلَاةُ؟ قَالَ «خَيْرٌ مَوْضُوعٌ فَمَنْ شَاءَ أَقَلَّ وَمَنْ شَاءَ أَكْثَرَ» قُلْتُ يَا رَسُولَ اللَّهِ أَيُّ الْأَعْمَالِ أَحَبُّ إِلَى اللَّهِ؟ قَالَ «الْإِيمَانُ بِاللَّهِ» ثُمَّ ذَكَرَ الْحَدِيثَ إِلَى أَنْ قَالَ فَقُلْتُ يَا رَسُولَ اللَّهِ كَمِ النَّبِيُّونَ؟ قَالَ «مِائَةُ أَلْفٍ وَأَرْبَعَةٌ وَعِشْرُونَ أَلْفَ نَبِيٍّ» قُلْتُ كَمِ الْمُرْسَلُونَ مِنْهُمْ؟ قَالَ «ثَلَاثُ مِائَةٍ وَثَلَاثَةَ عَشَرَ» وَذَكَرَ بَاقِيَ الْحَدِيثِالسعدي ليس بثقة