It was narrated that Jabir said:
"The Messenger of Allah (ﷺ) said: 'There is nothing between a person and disbelief except abandoning Salah.'"