Qatadah narrates: I asked Sayyiduna Anas bin Malik (may Allah be pleased with him): Was handshaking practiced during the blessed time of the Prophet (peace and blessings be upon him)? He replied: Yes.
Qatadah narrates: Hasan (al-Basri) used to shake hands.