Sunan an Nasai
3768
Sahih+2

It was narrated from Salim, from his father, that he told him from 'Umar:"The Messenger of Allah said: 'Allah forbids you to swear by your forefathers.'" 'Umar said: "By Allah, I never swore by them again, whether saying it for myself or reporting it of others

SahihAbu Ghuddah
SahihAl-Albani