From Quran
وَأَنكِحُوا۟ ٱلْأَيَٰمَىٰ مِنكُمْ وَٱلصَّٰلِحِينَ مِنْ عِبَادِكُمْ وَإِمَآئِكُمْۚ إِن يَكُونُوا۟ فُقَرَآءَ يُغْنِهِمُ ٱللَّهُ مِن فَضْلِهِۦۗ وَٱللَّهُ وَٰسِعٌ عَلِيمٌ
النور/32 .
And marry those among you who are single (i.e. a man who has no wife and the woman who has no husband) and (also marry) the Sâlihûn (pious, fit and capable ones) of your (male) slaves and maid-servants (female slaves). If they be poor, Allâh will enrich them out of His Bounty. And Allâh is All-Sufficient for His creatures’ needs, All-Knowing (about the state of the people).
An-Nur 24:32
Hadith: Arabic Text followed by English Translation.
عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم
ثَلاَثَةٌ حَقٌّ عَلَى اللَّهِ عَوْنُهُمُ الْمُجَاهِدُ فِي سَبِيلِ اللَّهِ وَالْمُكَاتَبُ الَّذِي يُرِيدُ الأَدَاءَ وَالنَّاكِحُ الَّذِي يُرِيدُ الْعَفَافَ
رواه الترمذي (١٦٥٥) و قال حديث حسن وحسنه الألباني في صحيح الترمذي
Narrated Abu Hurairah: That the Messenger of Allah (ﷺ) said:
There are three who are all entitled to Allaah’s help: the one who fights for the sake of Allaah; the mukaatab who wants to pay (the price of his freedom); and the one who gets married seeking chastity.
Narrated by Tirmidhi, 1655 and he said this is hadith is hasan and it was classed as hasan by Al-Albani in Saheeh Tirmidhi