Sahih Muslim 134 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنَا مَحْمُودُ بْنُ غَيْلاَنَ، حَدَّثَنَا أَبُو النَّضْرِ، حَدَّثَنَا أَبُو سَعِيدٍ الْمُؤَدِّبُ، عَنْ هِشَامِ بْنِ عُرْوَةَ، بِهَذَا الإِسْنَادِ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ يَأْتِي الشَّيْطَانُ أَحَدَكُمْ فَيَقُولُ مَنْ خَلَقَ السَّمَاءَ مَنْ خَلَقَ الأَرْضَ فَيَقُولُ اللَّهُ " . ثُمَّ ذَكَرَ بِمِثْلِهِ وَزَادَ " وَرُسُلِهِ " ."
This hadith has been transmitted by Mahmud b. Ghailan by another chain of transmitters (and the words are):
The Messenger of Allah (ﷺ) said: The Satan will come to everyone of you and say: Who created the heaven, who created the earth? (And the man) replies: It is Allah, Then the remaining part of the hadith was narrated as mentioned above and the words 'His prophets" were added to it.
Full reference and source
Sahih Muslim 134 b In-book : Book 1, Hadith 251 USC-MSA web (English) : Book 1, Hadith 243 (deprecated)
View source on Sunnah.com (opens in a new tab)