Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Three are under Allah's عز وجل guarantee: a man who leaves his house heading to one of the mosques of Allah عز وجل, a man who goes out to fight in the path of Allah عز وجل, and a man who sets out for pilgrimage."

Azami 4730

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: ثلاثة في ضمان الله عز وجل: رجل خرج من بيته إلى مسجد من مساجد الله عز وجل، ورجل خرج غازيا في سبيل الله عز وجل، ورجل خرج حاجا.

الأعظمي 4730صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Obligation of Hajj, its virtue, and its conditions
Section
Virtue of Hajj
Numbering
Jami al-Kamil 4730 (2nd edition)
Azami 4730