The Messenger of Allah (ﷺ) sent some people who were experts in tracking in pursuit of them and they were brought (to him). Allah , the Exalted, then revealed the verse about it : “ The punishment of those who wage war against Allah and his Apostle and strive for mischief through the land.
Sunan Abi Dawud Book 40, Hadith 16