(2) باب مَنْ حَلَفَ بِاللاَّتِ وَالْعُزَّى فَلْيَقُلْ لاَ إِلَهَ إِلاَّ اللَّهُ
Abd al-Rahman b. Samura reported Allah's Messenger (ﷺ) as saying:
Do not swear by idols, nor by your fathers.
Reference: Sahih Muslim 1648
In-book reference: Book 27, Hadith 9
USC-MSA web (English) reference(deprecated numbering scheme): Book 15, Hadith 4043