Through another chain a marfu' narration with the same meaning is reported. In it there is this addition: Then he brought him (Ibrahim, peace be upon him) to the House and he performed Tawaf of it; then he took him back to Mina and he spent those days there. Then Allah revealed to Muhammad (peace and blessings be upon him): "Follow the religion of Ibrahim, the upright, and he was not of the polytheists." [Surah al-Nahl: 123]. The more correct view is that it is mawquf (a statement of the Companion).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9645