The command to fight the people until they say "La ilaha illallah Muhammad Rasul-Allah", and establish Salat, and pay the Zakat, and believe in everything that the prophet (ﷺ) brought. Whoever does that, his life and his wealth are protected except by its right, and his secrets are entrusted to Allah, the most high. Fighting those who withhold Zakat or other than that is one of the duties of Islam and the Iman should be concerned with the Laws of Islam
Salim b. 'Abdullah (Allah be pleased with them) reported his father havingsaid this:
I saw people being beaten during the lifetime of Allah's Messenger (ﷺ) in case they bought the foodgrain in bulk, and then sold them at that spot before taking it to their places. This hadith is narrated on the authority of 'Ubaidullah b. Abdullah b. 'Umar through another chain of transmitters (and the words are):" His father (Ibn 'Umar) used to buy foodgrains in bulk and then carried them to his people."
Reference: Sahih Muslim 1527 d In-book : Book 21, Hadith 46 USC-MSA web (English) : Book 10, Hadith 3650 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.