It is narrated from Abu Hurayrah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "A woman is married for four reasons: for her wealth, for her lineage, for her beauty and for her religion. May your nose be in the dust; give preference to the one with religion."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13466