BAYHAQI 7798:
from Ḥassān b. ʿAṭiyyah —
[Machine] The Messenger of Allah ﷺ said: "There are forty good deeds, the highest of which is the milking of a goat. A man does not perform any of these qualities hoping for their reward or believing in their promise, except that Allah admits him to Paradise through them." Hassaan said: "So we started counting the responding of greetings, removing harmful objects from the path, and similar actions that are less than milking a goat, and we did not reach fifteen."
البيهقي ٧٧٩٨:
عن حسان بن عطيه —
قَالَ رَسُولُ اللهِ ﷺ أَرْبَعُونَ حَسَنَةً أَعْلَاهَا مَنِيحَةُ الْعَنْزِ لَا يَعْمَلُ رَجُلٌ بِخَصْلَةٍ مِنْهَا رَجَاءَ ثَوَابِهَا وَتَصْدِيقَ مَوْعُودِهَا إِلَّا أَدْخَلَهُ اللهُ بِهَا الْجَنَّةَ قَالَ حَسَّانُ فَذَهَبْنَا نَعُدُّ رَدَّ السَّلَامِ وَإِمَاطَةَ الْحَجَرِ وَنَحْوَ ذَلِكَ مِمَّا دُونَ مَنِيحَةِ الْعَنْزِ فَمَا أَجَزْنَا خَمْسَةَ عَشَرَ
hadithunlocked.com