Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) says: The Messenger of Allah (peace and blessings be upon him) taught us this Tashahhud: “All greetings, prayers, and pure words are for Allah. Peace be upon you, O Prophet, and the mercy of Allah and His blessings. Peace be upon us and upon the righteous servants of Allah. I bear witness that there is no god but Allah, and I bear witness that Muhammad is His servant and Messenger.”
Related hadith on this topic