On one occasion, Sayyiduna Umar (may Allah be pleased with him) swore by his father. The Prophet (peace and blessings be upon him) stopped him and said: Whoever swears by anything other than Allah has committed shirk.
Hadith Referenceمسند احمد / مسند الخلفاء الراشدين / 329