From Sahih Bukhari (Hadith 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: Bukhari 5157