It is narrated from Sayyidah Asma' bint Yazid (may Allah be pleased with her) that she said: "I pledged allegiance to the Messenger of Allah (peace and blessings be upon him), and he (peace and blessings be upon him) said: 'As far as you are able.' We said: 'O Messenger of Allah! Take our pledge.' He (peace and blessings be upon him) said: 'I do not shake hands with you (women); I only take from you the covenant which Allah, the Mighty and Majestic, has made binding (for women).'"
Imam Abu Ya'la al-Mawsili (may Allah have mercy on him) also narrated that Shahr bin Hawshab (may Allah have mercy on him) met Sayyidah Asma' bint Yazid (may Allah be pleased with her) and she related that "she pledged allegiance to the Messenger of Allah (peace and blessings be upon him) on the day the women were pledging allegiance. She said: I stretched out my hand to pledge allegiance, but he (peace and blessings be upon him) drew back his blessed hand and said: 'I do not shake hands with women; rather I only take a verbal pledge from them.'"
And (Imam Abu Ya'la, may Allah have mercy on him, said:) Abu Kurayb narrated to us from Muhammad bin Rabi'ah, from Mustaqim bin Abd al-Malik, from Shahr bin Hawshab (may Allah have mercy on him), from Sayyidah Asma' bint Yazid (may Allah be pleased with her), that she said: "The Messenger of Allah (peace and blessings be upon him) did not shake hands with women."
This chain is hasan (good). Shahr bin Hawshab (may Allah have mercy on him) is a narrator about whom (the hadith scholars) differ: Imam Ahmad bin Hanbal, Ibn Ma'in, al-Ijli and Ya'qub bin Shaybah (may Allah have mercy on them) declared him trustworthy, while Imam al-Nasa'i (may Allah have mercy on him) declared him layyin (soft, somewhat weak), and Imam Ibn Hazm and al-Bayhaqi (may Allah have mercy on them) declared him weak. Ibn Abi Husayn is Abdullah bin Abd al-Rahman al-Qurashi al-Nawfali, who is one of the narrators of the two Sahihs (al-Bukhari and Muslim), and all the remaining narrators of the chain are also narrators of the Sahih.
Hadith Takhrij«هذا إسناد حسن، شهر بن حوشب مختلف فيه، وثقه أحمد بن حنبل وابن معين والعجلي ويعقوب بن شيبة، ولينه النسائي، وضعفه ابن حزم والبيهقي» «أخرجه مسند أحمد برقم: 6959»