Sahih Bukhari | Volume 7 | Hadith Number 27

Narrated by Abu Huraira
The Prophet said, "A woman is married for four things, i.e., her wealth, her family status, her beauty and her religion. So you should marry the religious woman (otherwise) you will be a losers.