The Prophet ﷺ said, "There are three whom Allah has taken upon Himself to help: the one who fights in the cause of Allah, the one who marries seeking chastity, and the slave under a contract of manumission who seeks to pay it off."
أخبرنا محمد بن عبد الله بن يزيد عن أبيه قال حدثنا عبد الله بن المبارك عن محمد بن عجلان عن سعيد المقبري
عن النبي ﷺ قال ثلاثة كلهم حق على الله عز وجل عونه المجاهد في سبيل الله والناكح الذي يريد العفاف والمكاتب الذي يريد الأداء
[Its chain is hasan] Reported by Tirmidhi, Chapters on the Virtues of Jihad, chapter on what has been said about the one who fights, the one who marries, and the writer, and Allah's help for them, hadith no. 1655, and Ibn Majah, Chapter on Manumission, chapter on the mukatab, hadith no. 2518, from the hadith of Muhammad bin Ajlan with this same chain, and he explicitly stated that he heard it directly in Ahmad, 2/437. It is also found in al-Kubra, hadith no. 4328. Tirmidhi said, "Hasan."