Nafi' (may Allah have mercy on him) said that Sayyiduna Ibn Umar (may Allah be pleased with them both) would come to Safa and say: "Allahumma ahyini 'ala sunnati nabiyyika (peace and blessings be upon him), wa tawaffani 'ala millatihi, wa a'idhni min mudillat al-fitan" (O Allah! Keep me alive upon the Sunnah of Your Prophet (peace and blessings be upon him), cause me to die upon his way (religion), and protect me from misleading trials).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9349