It wasnarrated from Anas bin Malik that the Prophet (ﷺ) said:
"There isnothing standing between a person and Shirk (polytheism)exceptleaving the prayer, so if he leaves it he has committed Shirk." (ES)
English reference (ES): Vol. 1, Book 5, Hadith 1080 (ES)
Arabic reference (ES): Book 5, Hadith 1133 (ES)