Language:
كتاب النكاح
67  
Wedlock, Marriage (Nikaah)
(59)
Chapter: To consummate the marriage before going on a military campaign
(58)
باب مَنْ أَحَبَّ الْبِنَاءَ قَبْلَ الْغَزْوِ
Sahih al-Bukhari 5157

Narrated Abu Huraira:

The Prophet (ﷺ) said, "A prophet among the prophets went for a military expedition and said to his people: "A man who has married a lady and wants to consummate his marriage with her and he has not done so yet, should not accompany me.' "

حَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ، حَدَّثَنَا ابْنُ الْمُبَارَكِ، عَنْ مَعْمَرٍ، عَنْ هَمَّامٍ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ غَزَا نَبِيٌّ مِنَ الأَنْبِيَاءِ فَقَالَ لِقَوْمِهِ لاَ يَتْبَعْنِي رَجُلٌ مَلَكَ بُضْعَ امْرَأَةٍ وَهْوَ يُرِيدُ أَنْ يَبْنِيَ بِهَا وَلَمْ يَبْنِ بِهَا ‏"‏‏.‏
Reference : Sahih al-Bukhari 5157
In-book reference : Book 67, Hadith 92
USC-MSA web (English) reference : Vol. 7, Book 62, Hadith 87
  (deprecated numbering scheme)