[Machine] We used to say in prayer "Peace be upon Allah." The Prophet ﷺ heard that and said, "Do not say 'Peace be upon Allah,' for Allah is the Peace. Rather say the greetings belong to Allah, and the prayers and the good things. 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 slave and His Messenger."
كُنَّا نَقُولُ فِي الصَّلَاةِ السَّلَامُ عَلَى اللهِ فَسَمِعَ ذَلِكَ النَّبِيُّ ﷺ فَقَالَ لَا تَقُولُوا السَّلَامُ عَلَى اللهِ؛ فَإِنَّ اللهَ هُوَ السَّلَامُ وَلَكِنْ قُولُوا التَّحِيَّاتُ لِلَّهِ وَالصَّلَوَاتُ وَالطَّيِّبَاتُ السَّلَامُ عَلَيْكَ أَيُّهَا النَّبِيُّ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ السَّلَامُ عَلَيْنَا وَعَلَى عِبَادِ اللهِ الصَّالِحِينَ أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ