(1) باب النَّهْىِ عَنِ الْحَلِفِ بِغَيْرِ اللَّهِ تَعَالَى
Ibn 'Umar heard Allah's Messenger (ﷺ) as saying:
He who has to take an oath, he must not take oath but by Allah. The Quraish used to take oath by their fathers. So he (the Holy Prophet) said: Do not take oath by your fathers.
Reference: Sahih Muslim 1646 f
In-book reference: Book 27, Hadith 6
USC-MSA web (English) reference(deprecated numbering scheme): Book 15, Hadith 4040
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.