It was narrated from Abu Hurairah that the Prophet said: "Women are married for four things: their wealth, their nobility, their beauty and their religious commitment. Choose the one who is religiously committed, may your hands be rubbed with dust."
عَنِ النَّبِيِّ ﷺ قَالَ تُنْكَحُ النِّسَاءُ لأَرْبَعَةٍ لِمَالِهَا وَلِحَسَبِهَا وَلِجَمَالِهَا وَلِدِينِهَا فَاظْفَرْ بِذَاتِ الدِّينِ تَرِبَتْ يَدَاكَ