It was narrated that Thabit bin Ad-Dahhak said:
The Messenger of Allah (ﷺ) said: 'Whoever takes an oath to follow a religion other than Islam, telling a deliberate lie, he will be as he said.'"