It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that a man came to the Prophet (peace and blessings be upon him) and said: "Peace be upon you," and the Prophet (peace and blessings be upon him) said: "Ten."
Then another man came and said: "Peace be upon you and the mercy of Allah," and he (peace and blessings be upon him) said: "Twenty."
Then yet another man came and said: "Peace be upon you, the mercy of Allah and His blessings," and he (peace and blessings be upon him) said: "Thirty."