The Book of Oaths (Kitab Al-Aiman)

Muslim :: Book 15 : Hadith 4038

'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 Exated 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.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star