Do not swear by idols, nor by your fathers.

Sahih Muslim Book 27 Hadith 9

Sahih Muslim #1648

The Book of Oaths 27:9

Abd al-Rahman b. Samura reported Allah's Messenger (ﷺ) as saying:

Do not swear by idols, nor by your fathers.

Chapter: Whoever swears by Al-Lat and Al-Uzza, let him say La Ilaha Illallah

Grade: Sahih