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 Attab bin Zayd, Abdullah told us, Usama bin Zayd told us, Amr bin Shuayb told me, from his father, from Abdullah bin Amr, who related it.Its chain is hasan because of Usama bin Zayd and Amr bin Shuayb, for the hadiths of both of them are hasan.