I heard the Messenger of Allah (ﷺ) say: If any of you does not leave mukhabarah, he should take notice of war from Allah and His Apostle (ﷺ).
Sunan Abi Dawud Book 23, Hadith 81