It was narrated from 'Abdullah bin Buraidah that his father said: The Messenger of Allah (ﷺ) said: 'The covenant that stands between us and them is the Salah; whoever abandons it, he has committed disbelief.'
It was narrated that Jabir said: The Messenger of Allah (ﷺ) said: 'There is nothing between a person and disbelief except abandoning Salah.'