Sunan Ibn Majah 70
It was narrated that Anas bin Malik said:
"The Messenger of Allah (ﷺ) said: 'Whoever departs this world with sincerity towards Allah, worshipping Him alone with no partner, establishing regular prayer and paying Zakat, he dies while Allah is pleased with him.'" Anas said: "This is the religion of Allah which was brought by the Messengers, and which they conveyed from their Lord before there arose the confusion of people's chattering and conflicting desires.
This is confirmed in the Book of Allah, in one of the Last Verses to be revealed, where Allah says: "But if they repent." Renounce their idols and worshipping them; "And establish Salat and give Zakat." And Allah says in another Verse." But if they repent, perform Salat and give Zakat, then they are your brethren in religion." (Da'if)

Another chain with similar wording.
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا أَبُو أَحْمَدَ، حَدَّثَنَا أَبُو جَعْفَرٍ الرَّازِيُّ، عَنِ الرَّبِيعِ بْنِ أَنَسٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ مَنْ فَارَقَ الدُّنْيَا عَلَى الإِخْلاَصِ لِلَّهِ وَحْدَهُ وَعِبَادَتِهِ لاَ شَرِيكَ لَهُ وَإِقَامِ الصَّلاَةِ وَإِيتَاءِ الزَّكَاةِ مَاتَ وَاللَّهُ عَنْهُ رَاضٍ ‏"‏ ‏.‏ قَالَ أَنَسٌ وَهُوَ دِينُ اللَّهِ الَّذِي جَاءَتْ بِهِ الرُّسُلُ وَبَلَّغُوهُ عَنْ رَبِّهِمْ قَبْلَ هَرْجِ الأَحَادِيثِ وَاخْتِلاَفِ الأَهْوَاءِ وَتَصْدِيقُ ذَلِكَ فِي كِتَابِ اللَّهِ فِي آخِرِ مَا نَزَلَ يَقُولُ اللَّهُ {فَإِنْ تَابُوا}‏ قَالَ خَلَعُوا الأَوْثَانَ وَعِبَادَتَهَا {وَأَقَامُوا الصَّلاَةَ وَآتَوُا الزَّكَاةَ}‏ وَقَالَ فِي آيَةٍ أُخْرَى ‏{فَإِنْ تَابُوا وَأَقَامُوا الصَّلاَةَ وَآتَوُا الزَّكَاةَ فَإِخْوَانُكُمْ فِي الدِّينِ}‏ 
 
حَدَّثَنَا أَبُو حَاتِمٍ، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى الْعَبْسِيُّ، حَدَّثَنَا أَبُو جَعْفَرٍ الرَّازِيُّ، عَنِ الرَّبِيعِ بْنِ أَنَسٍ، مِثْلَهُ ‏.‏