In the name of Allah, Most Gracious, Most Merciful.
Abu Hurairah (May Allah be pleased with him) reported: The Prophet (May Allah exalt his mention and protect him from imperfection) said: “A woman is married for four things: for her wealth, for her lineage, for her beauty or for her piety. Select the pious, may you be blessed!”. (Al-Bukhari and Muslim)
Mentioned in this Hadith are the various reasons why we choose our wife. Another Hadith tells us that he who marries his wife for her money or her family will finally become their slave. Whoever marries ONLY for her beauty will find all his troubles will come from this beauty. But he who chooses his wife for her chastity will be at peace which is the fundamental basis of life. But this does not mean that a woman cannot be chaste and at the same time beautiful and from a good family. Only a pious woman is in the true sense faithful and obedient to her husband who has himself good conduct. Such a couple not only lead a happy life but its future generation is also brought up on the right lines with the help of such a woman, otherwise you risk spoiling the future generations. For this reason, while selecting a wife, one should give preference to religion over all other qualities.
Riyaadiss-Saliheen (The Meadows of the Righteous)
By Imam An Nawawi
Chapter 45, Page 121, No 364