"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. (Using translation from Nasāʾī 2963)
أَنَّ رَسُولَ اللهِ ﷺ لَمَّا انْتَهَى إِلَى مَقَامِ إِبْرَاهِيمَ قَرَأَ {وَاتَّخِذُوا مِنْ مَقَامِ إِبْرَاهِيمَ مُصَلًّى} [البقرة 125] فَصَلَّى رَكْعَتَيْنِ فَقَرَأَ فَاتِحَةَ الْكِتَابِ وَقُلْ يَا أَيُّهَا الْكَافِرُونَ وَقُلْ هُوَ اللهُ أَحَدٌ ثُمَّ عَادَ إِلَى الرُّكْنِ فَاسْتَلَمَهُ ثُمَّ خَرَجَ إِلَى الصَّفَا