The Prophet (ﷺ) said, "Whoever has to take an oath should swear by Allah or remain…

Sahih al-Bukhari Book 52 Hadith 40

Sahih al-Bukhari #2679

Witnesses 52:40

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

Chapter: How to swear?

Grade: Sahih