وَحَدَّثَنِي أَبُو نَصْرٍ التَّمَّارُ، وَعَبْدُ الأَعْلَى بْنُ حَمَّادٍ، قَالَا: حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ دَاوُدَ بْنِ أَبِي هِنْدٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ
قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِمِثْلِ حَدِيثِ يَحْيَى بْنِ مُحَمَّدٍ عَنِ الْعَلَاءِ ذَكَرَ فِيهِ «وَإِنْ صَامَ وَصَلَّى وَزَعَمَ أَنَّهُ مُسْلِمٌ»
The Messenger of Allah (sallallahu alayhi wa sallam) made observations like them embodied in the hadith narrated by Yahya ibn Muhammad on the authority of Ala, and added to it: even if he observed fast and prayed and asserted that he was a Muslim.