(103) باب مَنْ أَرَادَ غَزْوَةً فَوَرَّى بِغَيْرِهَا، وَمَنْ أَحَبَّ الْخُرُوجَ يَوْمَ الْخَمِيسِ
Narrated Ka`b bin Malik:
Whenever Allah's Messenger (ﷺ) intended to carry out a Ghazwa, he would use an equivocation to conceal his real destination till it was the Ghazwa of Tabuk which Allah's Messenger (ﷺ) carried out in very hot weather. As he was going to face a very long journey through a wasteland and was to meet and attack a large number of enemies. So, he made the situation clear to the Muslims so that they might prepare themselves accordingly and get ready to conquer their enemy. The Prophet (ﷺ) informed them of the destination he was heading for.
Reference: Sahih al-Bukhari 2948
In-book reference: Book 56, Hadith 160
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 52, Hadith 198