[Machine] The Messenger of Allah ﷺ used to recite the Tashahhud in prayer. He ﷺ said, "We used to memorize it from the Messenger of Allah ﷺ just as we would memorize the letters of the Quran, the waw and alif. He ﷺ said, 'When he (the Prophet) sat on his left foot, he ﷺ said, 'Greetings, prayers and good deeds 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.' Then he (the Prophet) would supplicate to his Lord and then give the salam and turn away."
أَنَّ رَسُولَ اللهِ ﷺ كَانَ يَتَشَهَّدُ فِي الصَّلَاةِ قَالَ وَكُنَّا نَحْفَظُهُ عَنْ رَسُولِ اللهِ ﷺ كَمَا نَحْفَظُ حُرُوفَ الْقُرْآنِ الْوَاوَاتِ وَالْأَلِفَاتِ قَالَ إِذَا جَلَسَ عَلَى وَرِكِهِ الْيُسْرَى قَالَ التَّحِيَّاتُ لِلَّهِ وَالصَّلَوَاتُ وَالطَّيِّبَاتُ السَّلَامُ عَلَيْكَ أَيُّهَا النَّبِيُّ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ السَّلَامُ عَلَيْنَا وَعَلَى عِبَادِ اللهِ الصَّالِحِينَ أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ ثُمَّ يَدْعُو إِلَهَهُ ثُمَّ يُسَلِّمُ وَيَنْصَرِفُ