Bulugh al-Maram 126
عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا; أَنَّ النَّبِيَّ - صلى الله عليه وسلم - قَالَ: «أُعْطِيتُ خَمْسًا لَمْ يُعْطَهُنَّ أَحَدٌ قَبْلِي: نُصِرْتُ بِالرُّعْبِ مَسِيرَةَ شَهْرٍ, وَجُعِلَتْ لِي الْأَرْضُ مَسْجِدًا وَطَهُورًا, فَأَيُّمَا رَجُلٍ أَدْرَكَتْهُ الصَّلَاةُ فَلْيُصَلِّ». وَذَكَرَ الْحَدِيثَ.
From Jabir ibn ʿAbdullah, may Allah be pleased with them both: The Prophet ﷺ said: "I have been given five things that were not given to anyone before me: I have been supported with awe [cast into enemies] at a distance of a month's journey; and the earth has been made for me a place of prayer and a means of purification, so any man whom the prayer reaches, let him pray." And he mentioned the [rest of the] hadith.