Sahih Bukhari – Hadith No : 2679

Narrated `Abdullah: The Prophet said, “Whoever has to take an oath should swear by Allah or remain silent.” (i.e. He should not swear by other than Allah.)

Hadith In Arabic Text :

حدثنا موسى بن إسماعيل، حدثنا جويرية، قال ذكر نافع عن عبد الله رضى الله عنه أن النبي صلى الله عليه وسلم قال ‏”‏ من كان حالفا فليحلف بالله أو ليصمت ‏”‏‏.‏

Chapter : Witnesses – كتاب الشهادات