The Messenger of Allah ﷺ did not shake hands with women when taking their pledge of allegiance.
أن رسول الله ﷺ كان لا يصافح النساء في البيعة.
No references are available.
Ahmad (6998) narrated it from Itaab bin Ziyad, who said, Abdullah told us, Usama bin Zayd told us, Amr bin Shuayb told me, from his father, from Abdullah bin Amr, and he related it.Its chain is hasan because of Usama bin Zayd, for there is disagreement about him, though his hadith is hasan when he does not contradict others and does not bring something that is rejected of him. Likewise Amr bin Shuayb, his hadith is also hasan.Haythami said in al-Majma (8/266), "Ahmad narrated it, and its chain is hasan."