Sunan an-Nasa'i, Hadith 2963 ⓘ
It was narrated from Jabir bin Abdullah that when the Messenger of Allah came to Maqam Ibrahim he recited: "And take you the Maqam (place) of Ihrahim as a place of prayer." Then he prayed two Rakahs reciting the Opening of the Book (Al-Fatihah) said: "Say: O you disbelievers" and "Say: He is Allah, (the) One." Then he went back to the Corner and touched it, then he went out to As-Safa.
أَخْبَرَنَا عَمْرُو بْنُ عُثْمَانَ بْنِ سَعِيدِ بْنِ كَثِيرِ بْنِ دِينَارٍ الْحِمْصِيُّ، عَنِ الْوَلِيدِ، عَنْ مَالِكٍ، عَنْ جَعْفَرِ بْنِ مُحَمَّدٍ، عَنْ أَبِيهِ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم لَمَّا انْتَهَى إِلَى مَقَامِ إِبْرَاهِيمَ قَرَأَ { وَاتَّخِذُوا مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى } فَصَلَّى رَكْعَتَيْنِ فَقَرَأَ فَاتِحَةَ الْكِتَابِ وَ { قُلْ يَا أَيُّهَا الْكَافِرُونَ } وَ { قُلْ هُوَ اللَّهُ أَحَدٌ } ثُمَّ عَادَ إِلَى الرُّكْنِ فَاسْتَلَمَهُ ثُمَّ خَرَجَ إِلَى الصَّفَا .
also referenced under: Book 24, Hadith 0 (In-Book) & Volume 3, Book 24, Hadith 2966 (DarusSalam)