Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:12035Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > Mūsá b. Ismāʿīl > Ḥammād > Thābit > Anas

The Immigrants (Muhajirun) said: Messenger of Allah! the Helpers (Ansar) got the entire reward. He said: no, so long as you pray to Allah for them and praise them. (Using translation from Abū Dāʾūd 4812)   

البيهقي:١٢٠٣٥أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا مُوسَى بْنُ إِسْمَاعِيلَ ثنا حَمَّادٌ عَنْ ثَابِتٍ عَنْ أَنَسٍ

أَنَّ الْمُهَاجِرِينَ قَالُوا يَا رَسُولَ اللهِ ذَهَبَتِ الْأَنْصَارُ بِالْأَجْرِ كُلِّهِ قَالَ لَا مَا دَعَوْتُمُ اللهَ لَهُمْ وَأَثْنَيْتُمْ عَلَيْهِمْ  


See similar narrations below:

Collected by Abū Dāwūd, Ḥākim
abudawud:4812Mūsá b. Ismāʿīl > Ḥammād > Thābit > Anas

The Immigrants (Muhajirun) said: Messenger of Allah! the Helpers (Ansar) got the entire reward. He said: no, so long as you pray to Allah for them and praise them.  

أبو داود:٤٨١٢حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ حَدَّثَنَا حَمَّادٌ عَنْ ثَابِتٍ عَنْ أَنَسٍ

أَنَّ الْمُهَاجِرِينَ قَالُوا يَا رَسُولَ اللَّهِ ذَهَبَتِ الأَنْصَارُ بِالأَجْرِ كُلِّهِ قَالَ لاَ مَا دَعَوْتُمُ اللَّهَ لَهُمْ وَأَثْنَيْتُمْ عَلَيْهِمْ  

hakim:2368ʿAlī b. Ḥamshādh al-ʿAdl > Hishām b. ʿAlī And Muḥammad b. Ayyūb > Mūsá b. Ismāʿīl > Ḥammād b. Salamah > Thābit > Anas > al-Muhājirīn > Lilnnabī ﷺ Dhahab al-Anṣār Bi-al-Ajr Kullih > Lā

The Immigrants (Muhajirun) said: Messenger of Allah! the Helpers (Ansar) got the entire reward. He said: no, so long as you pray to Allah for them and praise them. (Using translation from Abū Dāʾūd 4812)   

الحاكم:٢٣٦٨حَدَّثَنِي عَلِيُّ بْنُ حَمْشَاذٍ الْعَدْلُ ثنا هِشَامُ بْنُ عَلِيٍّ وَمُحَمَّدُ بْنُ أَيُّوبَ قَالَا ثنا مُوسَى بْنُ إِسْمَاعِيلَ ثنا حَمَّادُ بْنُ سَلَمَةَ عَنْ ثَابِتٍ عَنْ أَنَسٍ

أَنَّ الْمُهَاجِرِينَ قَالُوا لِلنَّبِيِّ ﷺ ذَهَبَ الْأَنْصَارُ بِالْأَجْرِ كُلِّهِ قَالَ «لَا مَا دَعَوْتُمُ اللَّهَ لَهُمْ وَأَثْنَيْتُمْ»  

هَذَا حَدِيثٌ صَحِيحٌ عَلَى شَرْطِ مُسْلِمٍ وَلَمْ يُخَرِّجَاهُ على شرط مسلم