The Messenger of Allah ﷺ said, "Between a servant and disbelief lies the abandonment of prayer."
حدثنا علي بن محمد حدثنا وكيع حدثنا سفيان عن أبي الزبير
قال رسول الله ﷺ بين العبد وبين الكفر ترك الصلاة
[Sahih] Reported by Abu Dawud, The Sunnah, chapter on rejecting the belief of the Murjites, no. 4678, from the hadith of Waki with this wording. Also reported by Muslim, Faith, chapter on the application of the name of disbelief to one who abandons prayer, no. 82, through another route from Abu Zubayr with this wording.