English translation
990. Ibn Mas'ūd said: “They were praying behind the Prophet ﷺ and someone said, ‘as-Salām (peace) be upon Allah.’ When the Prophet ﷺ finished his prayer, he said, ‘Who said, “as-Salām be upon Allah”? Allah is as-Salām. Say, “Greetings belong to Allah, and prayer and the good. Peace be upon you, O Prophet and the mercy of Allah and His blessings. Peace be upon us and upon the right-acting slaves of Allah. I testify that there is no god but Allah and I testify that Muhammad is His slave and Messenger.” ’ ”
Ibn Mas'ūd said, "They used to learn that as one of you learns a sūra from the Qur'ān." (Authentic)
Arabic text
حَدَّثَنَا أَبُو نُعَيْمٍ قَالَ: حَدَّثَنَا مُحِلٌّ قَالَ: سَمِعْتُ شَقِيقَ بْنَ سَلَمَةَ أَبَا وَائِلٍ يَذْكُرُ، عَنِ ابْنِ مَسْعُودٍ قَالَ: كَانُوا يُصَلُّونَ خَلْفَ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ الْقَائِلُ: السَّلَامُ عَلَى اللَّهِ، فَلَمَّا قَضَى النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ صَلَاتَهُ قَالَ: " مَنِ الْقَائِلُ: السَّلَامُ عَلَى اللَّهِ؟ إِنَّ اللَّهَ هُوَ السَّلَامُ، وَلَكِنْ قُولُوا: التَّحِيَّاتُ لِلَّهِ وَالصَّلَوَاتُ وَالطَّيِّبَاتُ، السَّلَامُ عَلَيْكَ أَيُّهَا النَّبِيُّ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ، السَّلَامُ عَلَيْنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ، وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ " قَالَ: وَقَدْ كَانُوا يَتَعَلَّمُونَهَا كَمَا يَتَعَلَّمُ أَحَدُكُمُ السُّورَةَ مِنَ الْقُرْآنِ