Reference: http://www.alfawzan.af.org.sa/ar/node/16870
Question: What is the authenticity of the [following] hadeeth, and the excellence of maintaining the prayer:
«there will come a time when the people will pray, and not fast»
Response: I do not know this hadeeth, and this is the first time I am hearing it, and Allaah has the complete knowledge of all affairs.
The Prophet ﷺ said:
«The first thing you will lose of your religion is trustworthiness, and the last thing to remain [of your religion] will be the prayer.»
…which indicates that the Muslims will continue to remain upon prayer, and they will not abandon it until the end of time when the last Hour will be established.