Bismillahi ‘r-Rahmaani ‘r-Raheem,
With the name of Allah, the most loving & caring, the always loving and caring,
A man came to the Prophet (ﷺ) and said: “As-Salamu ‘Alaikum (may you be safe from evil)”. The Messenger of Allah (ﷺ) responded to his greeting and the man sat down. The Prophet (ﷺ) said, “Ten (meaning the man had earned the merit of ten good acts).”
Another one came and said: “As-Salamu ‘Alaikum wa Rahmatullah (may you be safe from evil, and Mercy of Allah be upon you).” The Messenger of Allah (ﷺ) responded to his greeting and the man sat down. Messenger of Allah (ﷺ) said, “Twenty.”
A third one came and said: “As-Salamu ‘Alaikum wa Rahmatullahi wa Barakatuhu (may you be safe from evil, and the Mercy of Allah and His Blessings be upon you).”The Messenger of Allah (ﷺ) responded to his greeting and the man sat down. Messenger of Allah (ﷺ) said, “Thirty.”
[further discussion and hadith]
As salamu ‘alaykum wa rahmatullahi, wa barakaatuh
May peace of every aspect be upon you, along with the mercy of God and also His blessing.