Sahih Muslim Book 15, Hadith Number 4038.

Chapter : It is forbidden to take the oaths in the name of anyone else besides Allah.

‘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.