Sunan Abi Dawud, Book 15, Hadith 194 (Abu Dawud 2671)

Narrated Samurah ibn Jundub:

The Prophet (ﷺ) said: Kill the old men who are polytheists, but spare their children.