The Prophet (ﷺ) said: Kill the old men who are polytheists, but spare their children.
Sunan Abi Dawud Book 15, Hadith 194