According to a hadith attributed to Muhammad, he praised the women of Medina because of their desire for religious knowledge:
Why did the prophet Muhammad esteem women in Medina?
their desire for religious knowledge