From Sahih Bukhari (Hadith 4110):
Narrated Sulaiman bin Surad:When the clans were driven away, I heard the Prophet (ﷺ) saying, "From now onwards we will go to attack them (i.e. the infidels) and they will not come to attack us, but we will go to them
Reference: Bukhari 4110