The Prophet ﷺ said, "A woman is married for four reasons: for her wealth, for her lineage, for her beauty, and for her religion. So choose the one with religion, may your hands be filled with dust."
حدثنا مسدد حدثنا يحيى عن عبيد الله قال حدثني سعيد بن أبي سعيد عن أبيه
عن النبي ﷺ قال تنكح المرأة لأربع لمالها ولحسبها وجمالها ولدينها فاظفر بذات الدين تربت يداك