Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:2895ʿUqbah b. Mukram al-ʿAmmī al-Baṣrī > Ibn Abū Fudayk > Salamah b. And Rdān > Anas b. Mālik

that the Messenger of Allah ﷺ said to a man among his Companions: "Have you married O so-and-so?" He said: "No by Allah O Messenger of Allah! And I do not have anything to marry with." He said: "Do you not know: Qul Huwa Allahu Ahad?" He said: "Of course." He said: "It is a third of the Qur'an." He said: "Do you not know Idha Ja Nasrullahi Wal-Fath?" He said: "Of course." He said: "It is a fourth of the Qur'an." He said: "Do you not know Qul Ya Ayyuhal-Kafirun?" He said: "Of course." He said: "It is a fourth of the Qur'an." He said: "Do you not know Idha Zulzilat Al-Ard?" He said: "Of course." He said: "It is a fourth of the Qur'an." He said: "Marry, marry."  

Abū ʿĪsá said that this Ḥadīth is Ḥasan.
الترمذي:٢٨٩٥حَدَّثَنَا عُقْبَةُ بْنُ مُكْرَمٍ الْعَمِّيُّ الْبَصْرِيُّ قَالَ حَدَّثَنِي ابْنُ أَبِي فُدَيْكٍ قَالَ أَخْبَرَنَا سَلَمَةُ بْنُ وَرْدَانَ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لِرَجُلٍ مِنْ أَصْحَابِهِ هَلْ تَزَوَّجْتَ يَا فُلاَنُ قَالَ لاَ وَاللَّهِ يَا رَسُولَ اللَّهِ وَلاَ عِنْدِي مَا أَتَزَوَّجُ بِهِ قَالَ أَلَيْسَ مَعَكَ (قُلْ هُوَ اللَّهُ أَحَدٌ ) قَالَ بَلَى قَالَ ثُلُثُ الْقُرْآنِ قَالَ أَلَيْسَ مَعَكَ ( إِذَا جَاءَ نَصْرُ اللَّهِ وَالْفَتْحُ ) قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ أَلَيْسَ مَعَكَ قُلْ يَا أَيُّهَا الْكَافِرُونَ قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ أَلَيْسَ مَعَكَ (إِذَا زُلْزِلَتِ الأَرْضُ ) قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ تَزَوَّجْ تَزَوَّجْ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ

See similar narrations below:

Collected by Aḥmad
ahmad:13309ʿAbdullāh b. al-Ḥārith > Salamah b. And Rdān

that the Messenger of Allah ﷺ said to a man among his Companions: "Have you married O so-and-so?" He said: "No by Allah O Messenger of Allah! And I do not have anything to marry with." He said: "Do you not know: Qul Huwa Allahu Ahad?" He said: "Of course." He said: "It is a third of the Qur'an." He said: "Do you not know Idha Ja Nasrullahi Wal-Fath?" He said: "Of course." He said: "It is a fourth of the Qur'an." He said: "Do you not know Qul Ya Ayyuhal-Kafirun?" He said: "Of course." He said: "It is a fourth of the Qur'an." He said: "Do you not know Idha Zulzilat Al-Ard?" He said: "Of course." He said: "It is a fourth of the Qur'an." He said: "Marry, marry." (Using translation from Tirmidhī 2895)   

أحمد:١٣٣٠٩حَدَّثَنَا عَبْدُ اللهِ بْنُ الْحَارِثِ قَالَ حَدَّثَنِي سَلَمَةُ بْنُ وَرْدَانَ

أَنَّ أَنَسَ بْنَ مَالِكٍ صَاحِبَ النَّبِيِّ ﷺ حَدَّثَهُ أَنَّ رَسُولَ اللهِ ﷺ سَأَلَ رَجُلًا مِنْ صَحَابَتِهِ فَقَالَ أَيْ فُلَانُ هَلْ تَزَوَّجْتَ؟ قَالَ لَا وَلَيْسَ عِنْدِي مَا أَتَزَوَّجُ بِهِ قَالَ أَلَيْسَ مَعَكَ قُلْ هُوَ اللهُ أَحَدٌ؟ قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ أَلَيْسَ مَعَكَ قُلْ يَا أَيُّهَا الْكَافِرُونَ؟ قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ أَلَيْسَ مَعَكَ إِذَا زُلْزِلَتِ الْأَرْضُ؟ قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ أَلَيْسَ مَعَكَ إِذَا جَاءَ نَصْرُ اللهِ؟ قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ أَلَيْسَ مَعَكَ آيَةُ الْكُرْسِيِّ {اللهُ لَا إِلَهَ إِلَّا هُوَ} [البقرة 255] ؟ قَالَ بَلَى قَالَ رُبُعُ الْقُرْآنِ قَالَ تَزَوَّجْ تَزَوَّجْ تَزَوَّجْ ثَلَاثَ مَرَّاتٍ