AbuBakr adjured the Prophet (ﷺ). The Prophet (ﷺ) said: Do not adjure an oath.
Sunan Abi Dawud Book 22, Hadith 26