Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:2721Sūwayd > ʿAbdullāh > Khālid al-Ḥadhhāʾ > Abū Tamīmah al-Hujaymī > a man from Qawmih

from a man among his people, who said: "I went looking for the Prophet ﷺ but I was not able to find him. So I sat down, and then I saw a group of people, and he was among them, but I did not recognize him. He was settling some matter between them so when he was finished, some of them stood up with him and they were saying: 'O Messenger of Allah.' When I saw that, I said: "'Alaikas-Salam (upon you be peace) O Messenger of Allah! 'Alaikas-Salam (upon you be peace) O Messenger of Allah! 'Alaikas-Salam (upon you be peace) O Messenger of Allah!' He replied: 'Indeed "'Alaikas-Salam (upon you be peace)" is the greeting for the dead.' Then he came toward me and said: 'When a man meets his Muslim brother then he should say: "As-Salamu 'Alaikum Wa Rahmatullahi Wa Barakatuh (peace be upon you, and the mercy and blessings of Allah)." Then the Prophet ﷺ responded to my greeting, he said: 'And may Allah's mercy be upon you, and may Allah's mercy be upon you, and may Allah's mercy be upon you.'"  

الترمذي:٢٧٢١حَدَّثَنَا سُوَيْدٌ أَخْبَرَنَا عَبْدُ اللَّهِ أَخْبَرَنَا خَالِدٌ الْحَذَّاءُ عَنْ أَبِي تَمِيمَةَ الْهُجَيْمِيِّ عَنْ رَجُلٍ مِنْ قَوْمِهِ قَالَ

طَلَبْتُ النَّبِيَّ ﷺ فَلَمْ أَقْدِرْ عَلَيْهِ فَجَلَسْتُ فَإِذَا نَفَرٌ هُوَ فِيهِمْ وَلاَ أَعْرِفُهُ وَهُوَ يُصْلِحُ بَيْنَهُمْ فَلَمَّا فَرَغَ قَامَ مَعَهُ بَعْضُهُمْ فَقَالُوا يَا رَسُولَ اللَّهِ فَلَمَّا رَأَيْتُ ذَلِكَ قُلْتُ عَلَيْكَ السَّلاَمُ يَا رَسُولَ اللَّهِ عَلَيْكَ السَّلاَمُ يَا رَسُولَ اللَّهِ عَلَيْكَ السَّلاَمُ يَا رَسُولَ اللَّهِ قَالَ إِنَّ عَلَيْكَ السَّلاَمُ تَحِيَّةُ الْمَيِّتِ إِنَّ عَلَيْكَ السَّلاَمُ تَحِيَّةُ الْمَيِّتِ ثَلاَثًا ثُمَّ أَقْبَلَ عَلَىَّ فَقَالَ إِذَا لَقِيَ الرَّجُلُ أَخَاهُ الْمُسْلِمَ فَلْيَقُلِ السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللَّهِ ثُمَّ رَدَّ عَلَىَّ النَّبِيُّ ﷺ قَالَ وَعَلَيْكَ وَرَحْمَةُ اللَّهِ وَعَلَيْكَ وَرَحْمَةُ اللَّهِ وَعَلَيْكَ وَرَحْمَةُ اللَّهِ  

قَالَ أَبُو عِيسَى وَقَدْ رَوَى هَذَا الْحَدِيثَ أَبُو غِفَارٍ عَنْ أَبِي تَمِيمَةَ الْهُجَيْمِيِّ عَنْ أَبِي جُرَىٍّ جَابِرِ بْنِ سُلَيْمٍ الْهُجَيْمِيِّ قَالَ أَتَيْتُ النَّبِيَّ ﷺ فَذَكَرَ الْحَدِيثَ وَأَبُو تَمِيمَةَ اسْمُهُ طَرِيفُ بْنُ مُجَالِدٍ

See similar narrations below:

Collected by Nasāʾī's Kubrá
nasai-kubra:10078Muḥammad b. ʿAbdullāh b. Bazīʿ > Yazīd > Khālid > Abū Tamīmah > a man

[Machine] I said to you, "Peace be upon you, O Messenger of Allah." He replied, "Peace be upon you, the greeting of the dead when you meet your believing brother. So say, 'Peace be upon you and the mercy of Allah and His blessings.'" [128] 10079 Muhammad ibn Bashshar informed us, he said: Abdul Wahhab informed us, he said: Khalid narrated to us from Abu Tamimah from a man from his people. He said: I sought the Messenger of Allah ﷺ but I could not reach him. So I sat down and there was a group among them that I did not know. When he got up, some of them stood up with him. They said, "O Messenger of Allah!" When I saw that, I said to him, "Peace be upon you, O Messenger of Allah." And he started the conversation.  

الكبرى للنسائي:١٠٠٧٨أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنُ بَزِيعٍ قَالَ حَدَّثَنَا يَزِيدُ قَالَ حَدَّثَنَا خَالِدٌ عَنْ أَبِي تَمِيمَةَ عَنْ رَجُلٍ قَالَ

قُلْتُ عَلَيْكَ السَّلَامُ يَا رَسُولَ اللهِ قَالَ عَلَيْكَ السَّلَامُ تَحِيَّةُ الْمَوْتَى إِذَا لَقِيتَ أَخَاكَ الْمُؤْمِنَ فَقُلْ السَّلَامُ عَلَيْكَ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ [128] 10079 أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا عَبْدُ الْوَهَّابِ قَالَ حَدَّثَنَا خَالِدٌ عَنْ أَبِي تَمِيمَةَ عَنْ رَجُلٍ مِنْ قَوْمِهِ قَالَ طَلَبْتُ رَسُولَ اللهِ ﷺ فَلَمْ أَقْدِرْ عَلَيْهِ فَجَلَسْتُ فَإِذَا نَفَرٌ هُوَ فِيهِمْ وَلَا أَعْرِفُهُ فَلَمَّا قَامَ قَامَ مَعَهُ بَعْضُهُمْ فَقَالُوا يَا رَسُولَ اللهِ فَلَمَّا رَأَيْتُ ذَلِكَ قُلْتُ عَلَيْكَ السَّلَامُ يَا رَسُولَ اللهِ وَسَاقَ الْحَدِيثَ