Sahih al-Bukhari, Hadith 3061 ⓘ
Narrated Ibn `Abbas: A man came to the Prophet and said, "O Allah's Messenger! I have enlisted in the army for such-andsuch Ghazwa, and my wife is leaving for Hajj." Allah's Messenger said, "Go back and perform Hajj with your wife."
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا سُفْيَانُ، عَنِ ابْنِ جُرَيْجٍ، عَنْ عَمْرِو بْنِ دِينَارٍ، عَنْ أَبِي مَعْبَدٍ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ، إِنِّي كُتِبْتُ فِي غَزْوَةِ كَذَا وَكَذَا، وَامْرَأَتِي حَاجَّةٌ. قَالَ " ارْجِعْ فَحُجَّ مَعَ امْرَأَتِكَ " .
also referenced under: Book 56, Hadith 267 (In-Book) & Volume 4, Book 52, Hadith 295 (USC-MSA)