The Prophet (ﷺ) prohibited to kill four creatures: ants, bees, hoopoes, and sparrow-hawks.

Sunan Abu Dawud Book 43 Hadith 495

Sunan Abu Dawud #5267

General Behavior (Kitab Al-Adab) 43:495

Narrated Abdullah ibn Abbas:

The Prophet (ﷺ) prohibited to kill four creatures: ants, bees, hoopoes, and sparrow-hawks.

Chapter: Regarding killing ants

Grade: Sahih (Al-Albani)