It has been narrated on the authority of 'A'isha, the wife of the Prophet (sallAllaahu alayhi wa sallam). She said: When the believing women migrated (to Medina) and came to the Messenger of Allaah (sallAllaahu alayhi wa sallam), they would be tested in accordance with the following words of Allaah. the Almighty and Exalted:" O Prophet, when believing women come to thee to take the oath of fealty to thee that they will not associate in worship anything with God, that they will not steal. that, they will not commit adultery..." to the end of the verse (lx. 62).
Whoso from the believing women accepted these conditions and agreed to abide by them were considered to have offered themselves for swearing fealty. When they had (formally) declared their resolve to do so, the Messenger of Allaah (may peace he upon him) would say to them: You may go. I have confirmed your fealty. By God, the hand of the Messenger of Allaah (sallAllaahu alayhi wa sallam) never touched the hand of a woman. He would take the oath of fealty from them by oral declaration. By God, the Messenger of Allaah (sallAllaahu alayhi wa sallam) never took any vow from women except that which God had ordered him to take, and his palm never touched the palm of a woman. When he had taken their vow, he would tell them that he had taken the oath from them orally.