وَقَدْ أَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ ، أَخْبَرَنَا أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ، حَدَّثَنَا مُحَمَّدُ بْنُ الْفَرَجِ الْأَزْرَقُ ، حَدَّثَنَا السَّهْمِيُّ ، حَدَّثَنَا سِنَانُ بْنُ رَبِيعَ عَنْ ثَابِتٍ الْبُنَانِيِّ ، عَنْ عُبَيْدِ بْنِ عُمَيْرٍ ، عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : "مَا مِنْ مُسْلِمٍ يُبْتَلَى بِبَلَاءٍ فِي جَسَدِهِ إِلَّا كَتَبَ اللَّهُ لَهُ كُلَّ عَمَلٍ صَالِحٍ كَانَ يَعْمَلُهُ فِي صِحَّتِهِ فِي مَرَضِهِ " .
قَالَ الشَّيْخُ : سِنَانُ بْنُ رَبِيعَةَ هُوَ أَبُو رَبِيعَةَ وَفِي هَذَا دِلَالَةٌ عَلَى أَنَّهُ لَمْ يَسْمَعْهُ مِنْ أَنَسِ بْنِ مَالِكٍ وَاللَّهُ أَعْلَمُ .
Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "There is no Muslim who is tested with some illness or trouble in his body except that Allah Almighty writes for him, in his illness, every good deed he used to do in his health."
Imam al-Bayhaqi (may Allah have mercy on him) said: "Sinan bin Rabi'ah is Abu Rabi'ah, and this indicates that he did not hear this hadith directly from Sayyiduna Anas bin Malik (may Allah be pleased with him); and Allah knows best."