Sunan Abi Dawud, Hadith 963

‘Abd Allah b. Mas’ud said: when we (prayed and) sat up during prayer along the Messenger of Allah (may peach be upon him), we said: “Peace be to Allah before it is supplicated for His servants; peace be to so and so. “The Messenger of Allah said: Do not say “Peace be to Allah,”for Allah Himself is peace. When one of you sits(during the prayer), he should say: The adoration of the tongue are due to Allah, and acts of worship and all good things. Peace be upon you, O Prophet, and Allah’s mercy and His blessings. Peace be upon us and upon Allah’s upright servants. When you say that, it reaches every upright servant in heavens and earth or between heavens and earth. I testify that there is no god but Allah, and I testify that Muhammad is His servant and apostle. Then he may choose any supplication which pleases him and offer it.

حَدَّثَنَا مُسَدَّدٌ، أَخْبَرَنَا يَحْيَى، عَنْ سُلَيْمَانَ الأَعْمَشِ، حَدَّثَنِي شَقِيقُ بْنُ سَلَمَةَ، عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ، قَالَ كُنَّا إِذَا جَلَسْنَا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم فِي الصَّلاَةِ قُلْنَا السَّلاَمُ عَلَى اللَّهِ قَبْلَ عِبَادِهِ السَّلاَمُ عَلَى فُلاَنٍ وَفُلاَنٍ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لاَ تَقُولُوا السَّلاَمُ عَلَى اللَّهِ فَإِنَّ اللَّهَ هُوَ السَّلاَمُ وَلَكِنْ إِذَا جَلَسَ أَحَدُكُمْ فَلْيَقُلِ التَّحِيَّاتُ لِلَّهِ وَالصَّلَوَاتُ وَالطَّيِّبَاتُ السَّلاَمُ عَلَيْكَ أَيُّهَا النَّبِيُّ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ السَّلاَمُ عَلَيْنَا وَعَلَى عِبَادِ اللَّهِ الصَّالِحِينَ فَإِنَّكُمْ إِذَا قُلْتُمْ ذَلِكَ أَصَابَ كُلَّ عَبْدٍ صَالِحٍ فِي السَّمَاءِ وَالأَرْضِ - أَوْ بَيْنَ السَّمَاءِ وَالأَرْضِ - أَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ اللَّهُ وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ ثُمَّ لْيَتَخَيَّرْ أَحَدُكُمْ مِنَ الدُّعَاءِ أَعْجَبَهُ إِلَيْهِ فَيَدْعُو بِهِ ‏" ‏ ‏.‏

sunnah.com