Riyad as-Salihin, Book 1, Hadith 364 (In-Book)

Abu Hurairah (May Allah be pleased with him) reported: The Prophet 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].

وعن أبي هريرة رضي الله عنه، عن النبي صلى الله عليه وسلم قال‏:‏ ‏ "‏تنكح المرأة لأربع‏:‏ لمالها، ولحسبها، ولجمالها، ولدينها، فاظفر بذات الدين تربت يداك‏" ‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

sunnah.com