Hadithcore
Mishkat al-Masabih, 2537

He said that he heard God’s messenger say, “Those who visit God are three classes:

The warrior, the one who performs the <i>hajj</i>, and the one who performs the <i>‘umra</i>.” Nasa’i and Baihaqi, in <i>Shu'ab al-iman</i>, transmitted it.

وَعَنْهُ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «وَفْدُ اللَّهِ ثَلَاثَةٌ الْغَازِي وَالْحَاجُّ وَالْمُعْتَمِرُ» . رَوَاهُ النَّسَائِيُّ وَالْبَيْهَقِيُّ فِي شُعَبِ الْإِيمَان

References1 variant
In-Book Reference
Book 10, Hadith 31