Abdullah ibn Shaqiq reported: The companions of Muhammad, peace and blessings be upon him, did not consider leaving any deed to be unbelief except for the prayer.
Source: Sunan al-Tirmidhī 2622
Grade: Sahih (authentic) according to Al-Nawawi
عَنْ عَبْدِ اللهِ بْنِ شَقِيقٍ العُقَيْلِيِّ قَالَ كَانَ أَصْحَابُ مُحَمَّدٍ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لاَ يَرَوْنَ شَيْئًا مِنَ الأَعْمَالِ تَرْكُهُ كُفْرٌ غَيْرَ الصَّلاَةِ
2622 سنن الترمذي أبواب الإيمان باب ما جاء في ترك الصلاة
3/16 المحدث النووي خلاصة حكم المحدث إسناده صحيح في المجموع