[Machine] The companions of Muhammad ﷺ used to shake hands when they met, and when they returned from a journey, they would embrace each other. And Allah knows best.
كَانَ أَصْحَابُ مُحَمَّدٍ ﷺ إِذَا الْتَقَوْا صَافَحُوا فَإِذَا قَدِمُوا مِنْ سَفَرٍ عَانَقَ بَعْضُهُمْ بَعْضًا وَاللهُ أَعْلَمُ