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.
nasai:736al-Ḥasan b. Ismāʿīl b. Sulaymān > Hushaym > Sayyār > Yazīd al-Faqīr > Jābir b. ʿAbdullāh

"The Messenger of Allah ﷺ said: 'The earth has been made for me a place of prostration and a means of purification, so wherever a man of my Ummah is when the time for prayer comes, let him pray.'"  

النسائي:٧٣٦أَخْبَرَنَا الْحَسَنُ بْنُ إِسْمَاعِيلَ بْنِ سُلَيْمَانَ قَالَ حَدَّثَنَا هُشَيْمٌ قَالَ حَدَّثَنَا سَيَّارٌ عَنْ يَزِيدَ الْفَقِيرِ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ جُعِلَتْ لِيَ الأَرْضُ مَسْجِدًا وَطَهُورًا أَيْنَمَا أَدْرَكَ رَجُلٌ مِنْ أُمَّتِي الصَّلاَةَ صَلَّى  


See similar narrations below:

Collected by Ibn Mājah, Nasāʾī's Kubrá
ibnmajah:567[Chain 1] Yaʿqūb b. Ḥumayd b. Kāsib > ʿAbd al-ʿAzīz b. Abū Ḥāzim [Chain 2] Abū Isḥāq al-Harawī > Ismāʿīl b. Jaʿfar > al-ʿAlāʾ from his father > Abū Hurayrah

The Messenger of Allah said: "the earth has been made for me a place of worship and a means of purification."  

ابن ماجة:٥٦٧حَدَّثَنَا يَعْقُوبُ بْنُ حُمَيْدِ بْنِ كَاسِبٍ حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ أَبِي حَازِمٍ ح وَحَدَّثَنَا أَبُو إِسْحَاقَ الْهَرَوِيُّ حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ جَمِيعًا عَنِ الْعَلاَءِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ جُعِلَتْ لِيَ الأَرْضُ مَسْجِدًا وَطَهُورًا  

nasai-kubra:817al-Ḥasan b. Ismāʿīl b. Sulaymān > Hushaym > Sayyār > Yazīd al-Faqīr > Jābir b. ʿAbdullāh

"The Messenger of Allah ﷺ said: 'The earth has been made for me a place of prostration and a means of purification, so wherever a man of my Ummah is when the time for prayer comes, let him pray.'" (Using translation from Nasāʾī 736)  

الكبرى للنسائي:٨١٧أَخْبَرَنَا الْحَسَنُ بْنُ إِسْمَاعِيلَ بْنِ سُلَيْمَانَ قَالَ أَخْبَرَنَا هُشَيْمٌ قَالَ أَخْبَرَنَا سَيَّارٌ عَنْ يَزِيدَ الْفَقِيرِ عَنْ جَابِرِ بْنِ عَبْدِ اللهِ قَالَ

قَالَ لي رَسُولُ اللهِ ﷺ «جُعِلَتِ لِيَ الْأَرْضُ مَسْجِدًا وَطَهُورًا فَأَيْنَمَا أَدْرَكَ رَجُلًا مِنْ أُمَّتِي الصَّلَاةُ صَلَّى»