Sunan Abi Dawud, Book 22, Hadith 17 (Abu Dawud 3259)

Narrated Buraydah ibn al-Hasib:

The Prophet (ﷺ) said: If anyone takes an oath and says: I am free from Islam; now if he is a liar (in his oath), he will not return to Islam with soundness.