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.
abudawud:472Hishām b. ʿAmmār > Ṣadaqah b. Khālid > ʿUthmān b. Abū al-ʿĀtikah al-Azdī > ʿUmayr b. Hāniʾ al-ʿAnsī > Abū Hurayrah

Abu Hurairah reported the Messenger of Allah (May peace be upon him) as saying; one shall have the thing the for which one comes to the mosque.  

أبو داود:٤٧٢حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ حَدَّثَنَا صَدَقَةُ بْنُ خَالِدٍ حَدَّثَنَا عُثْمَانُ بْنُ أَبِي الْعَاتِكَةِ الأَزْدِيُّ عَنْ عُمَيْرِ بْنِ هَانِئٍ الْعَنْسِيِّ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مَنْ أَتَى الْمَسْجِدَ لِشَىْءٍ فَهُوَ حَظُّهُ  


See similar narrations below:

Collected by Bayhaqī, Suyūṭī
bayhaqi:4990Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > Hishām b. ʿAmmār > Ṣadaqah b. Khālid > ʿUthmān b. Abū al-ʿĀtikah al-Azdī > ʿUmayr b. Hāniʾ al-ʿAnsī > Abū Hurayrah

Abu Hurairah reported the Messenger of Allah (May peace be upon him) as saying; one shall have the thing the for which one comes to the mosque. (Using translation from Abū Dāʾūd 472)   

البيهقي:٤٩٩٠أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ ثنا مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ ثنا هِشَامُ بْنُ عَمَّارٍ ثنا صَدَقَةُ بْنُ خَالِدٍ ثنا عُثْمَانُ بْنُ أَبِي الْعَاتِكَةِ الْأَزْدِيُّ عَنْ عُمَيْرِ بْنِ هَانِئٍ الْعَنْسِيِّ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللهِ ﷺ مَنْ أَتَى الْمَسْجِدَ لِشَيْءٍ فَهُوَ حَظُّهُ  

bayhaqi:4342Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > Hishām b. ʿAmmār > Ṣadaqah b. Khālid > ʿUthmān b. Abū al-ʿĀtikah al-Azdī > ʿUmayr b. Hāniʾ al-ʿAnsī > Abū Hurayrah

Abu Hurairah reported the Messenger of Allah (May peace be upon him) as saying; one shall have the thing the for which one comes to the mosque. (Using translation from Abū Dāʾūd 472)   

البيهقي:٤٣٤٢أنبأ أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا هِشَامُ بْنُ عَمَّارٍ ثنا صَدَقَةُ بْنُ خَالِدٍ ثنا عُثْمَانُ بْنُ أَبِي الْعَاتِكَةِ الْأَزْدِيُّ عَنْ عُمَيْرِ بْنِ هَانِئٍ الْعَنْسِيِّ عَنْ أَبِي هُرَيْرَةَ ؓ قَالَ

قَالَ رَسُولُ اللهِ ﷺ مَنْ أَتَى الْمَسْجِدَ بِشَيْءٍ فَهُوَ حَظُّهُ