Sahih Muslim | Book 15 | Chapter 1

Narrated by 'Umar b. al-Khattib
'Umar b. al-Khattib reported Allah's Messenger (may peace be upon him) as saying: Allah, the Great and Majestic, forbids you to swear by your fathers. Umar said: By Allah. I have never sworn (by my father) since I heard Allah's Messenger (may peace be upon him) forbidding it mentioning them "on my behalf" nor on behalf of someone else.

Narrated by Zuhri
This hadith has been transmitted on the authority of Zuhri except that in the hadith narrated on the authority of Uqail the words are: "I did not take oath by (anyone else except Allah) since I heard Allah's Messenger forbidding it, nor did I speak in such terms, and the narrator did not say, "on my own behalf or on behalf of someone else".

Narrated by Salim
Salim reported on the authority of his father that Allah's Apostle (may peace be upon him) heard 'Umar while he was taking oath by his father. The rest of the hadith is the same.

Narrated by 'Abdullah (b. Umar)
'Abdullah (b. Umar) reported that Allah's Messenger (may peace be upon him) found, Umar b. al-Khattab amongst the riders and he was taking oath by his father Allah's Messenger (may peace be upon him) called them (saying); Our Allah, the Exalted and Majestic, has forbidden you that you take oath by your father. He who bag to take an oath, he must take it by Allah or keep quiet.

Narrated by Ibn Umar
This hadith is narrated on the authority of Ibn Umar through another chain of transmitters.
Narrated by Ibn 'Umar
Ibn 'Umar heard Allah's Messenger (may peace be upon him) 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.