عَنِ الْبَرَاءِ بْنِ عَازِبٍ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: قَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَا مِنْ مُسْلِمَيْنِ يَلْتَقِيَانِ فَيَتَصَافَحَانِ إِلَّا غُفِرَ لَهُمَا قَبْلَ أَنْ يَتَفَرَّقَا» . رَوَاهُ أَحْمَدُ وَالتِّرْمِذِيُّ وَابْنُ مَاجَهْ وَفِي رِوَايَةِ أَبِي دَاوُدَ قَالَ: «إِذَا الْتَقَى الْمُسْلِمَانِ فَتَصَافَحَا وَحَمِدَا اللَّهَ وَاسْتَغْفَرَاهُ غفر لَهما»
Bara’ bin Azib (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: “When two Muslims meet and shake hands, they are forgiven before they part.” (Ahmad, Tirmidhi, Ibn Majah). And in the narration of Abu Dawood, it is stated: “When two Muslims meet and shake hands, praise Allah, and seek forgiveness from Him, they are forgiven.” Its chain is weak. Narrated by Ahmad, Tirmidhi, Ibn Majah, and Abu Dawood.