← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #6028 · Asking Permission

Narrated Qatada:

حَدَّثَنَا عَمْرُو بْنُ عَاصِمٍ، حَدَّثَنَا هَمَّامٌ، عَنْ قَتَادَةَ، قَالَ قُلْتُ لأَنَسٍ أَكَانَتِ الْمُصَافَحَةُ فِي أَصْحَابِ النَّبِيِّ صلى الله عليه وسلم قَالَ نَعَمْ‏.‏

I asked Anas, "Was it a custom of the companions of the Prophet (ﷺ) to shake hands with one another?"
He said, "Yes."