Shaykh Abdul Sattar al-Hammad
Hadith Commentary:
(1)
From this hadith, the practice of the noble Companions (radi Allahu anhum) of shaking hands when meeting each other is established; when they used to meet, they would shake hands. There is great virtue mentioned regarding this in the hadith. Thus, it is narrated from al-Bara’ ibn ‘Azib (radi Allahu anhuma) that the Messenger of Allah (sallallahu alayhi wa sallam) said:
“When two Muslims meet and then shake hands, before they part ways, both of them are forgiven.”
(Sunan Abi Dawud, al-Adab, Hadith: 5212)
(2)
In any case, Muslims meeting each other happily and shaking hands is a means of increasing mutual love and of forgiveness of sins from Allah, the Exalted. Hafiz Ibn Hajar (rahimahullah) has written that from this general practice of shaking hands, an unrelated woman and a handsome beardless youth are excluded. One should not shake hands with them, because countless tribulations arise from this.
(Fath al-Bari: 11/66)
Source: Hidayat al-Qari: Commentary on Sahih Bukhari, Urdu, Page: 6263