It was the practice of the Prophet (peace and blessings be upon him):
"When he (peace and blessings be upon him) swore an oath, he would say: By the One in whose Hand is the soul of Muhammad (peace and blessings be upon him)."
Hadith Referenceصحیح الجامع الصغیر / حرف الكاف / 4705