The Messenger of Allah ﷺ said, "I have been given five things that no one was given before me. Every prophet was sent only to his own people, but I was sent to all of humanity, both Ahmar and black. The spoils of war were made lawful for me, though they were not lawful for anyone before me. The earth has been made for me a place of purity and a place of prayer, so whenever the time of prayer comes upon a man, he may pray wherever he is. I was granted victory through awe striking the hearts of my enemies from a month's distance away. And I was given the right of intercession."
قال رسول الله ﷺ: أعطيت خمسا لم يعطهن أحد قبلي: كان كل نبي يبعث إلى قومه خاصة، وبعثت إلى كل أحمر وأسود، وأحلت لي الغنائم، ولم تحل لأحد قبلي، وجعلت لي الأرض طيبة طهورا ومسجدا، فأيما رجل أدركته الصلاة صلى حيث كان، ونصرت بالرعب بين يدي مسيرة شهر، وأعطيت الشفاعة.
Bukhari narrated it in the Book of Tayammum (335), and Muslim in the Book of Mosques (521), both through Hushaym, who said, "Sayyar narrated to us, Yazid Faqir narrated to us, from Jabir bin Abdullah," and he mentioned it. The wording given here is Muslim's.