Sahih Bukhari | Volume 5 | Hadith Number 177

Narrated by 'Umar
The Prophet said, "If anybody has to take an oath, he should swear only by Allah." The

people of Quraish used to swear by their fathers, but the Prophet said, "Do not swear by your fathers."