The Messenger of Allah ﷺ climbed up Safa, and when he caught sight of the House, he proclaimed the takbir.
أخبرنا يعقوب بن إبراهيم قال حدثنا يحيى بن سعيد قال حدثنا جعفر بن محمد قال حدثني أبي قال
أن رسول الله ﷺ رقي على الصفا حتى إذا نظر إلى البيت كبر
[Its isnad is sahih] Part of it has already been mentioned, no. 2713, and it is in Kubra, no. 3964.