Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:5196Isḥāq b. Sūwayd al-Ramlī > Ibn Abū Maryam > Aẓun Annī > Nāfiʿ b. Yazīd > Abū Marḥūm > Sahl b. Muʿādh b. Anas from his father

(This version is same as previous No 5176 from the Prophet ﷺ, adding that): Afterwards another man came and said: Peace and Allah's mercy, blessings and forgiveness be upon you! whereupon he said: Forty. adding: Thus are excellent qualities rewarded.  

أبو داود:٥١٩٦حَدَّثَنَا إِسْحَاقُ بْنُ سُوَيْدٍ الرَّمْلِيُّ حَدَّثَنَا ابْنُ أَبِي مَرْيَمَ قَالَ أَظُنُّ أَنِّي سَمِعْتُ نَافِعَ بْنَ يَزِيدَ قَالَ أَخْبَرَنِي أَبُو مَرْحُومٍ عَنْ سَهْلِ بْنِ مُعَاذِ بْنِ أَنَسٍ عَنْ أَبِيهِ

عَنِ النَّبِيِّ ﷺ بِمَعْنَاهُ زَادَ ثُمَّ أَتَى آخَرُ فَقَالَ السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ وَمَغْفِرَتُهُ فَقَالَ أَرْبَعُونَ قَالَ هَكَذَا تَكُونُ الْفَضَائِلُ