Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:9349Abū al-Qāsim ʿAbd al-Raḥman b. ʿUbaydullāh al-Ḥurfī > Ḥamzah b. Muḥammad b. al-ʿAbbās > Aḥmad b. al-Walīd al-Faḥḥām > Shādhān Nbʾ Sufyān b. ʿUyaynah > Abū al-Aswad > Nāfiʿ > Ibn ʿUmar

[Machine] He used to say at Safa, "O Allah, let me live according to the Sunnah of Your Prophet ﷺ and cause me to die upon his religion, and protect me from the misguidance of trials and tribulations."  

البيهقي:٩٣٤٩أَخْبَرَنَا أَبُو الْقَاسِمِ عَبْدُ الرَّحْمَنِ بْنُ عُبَيْدِ اللهِ الْحُرْفِيُّ بِبَغْدَادَ ثنا حَمْزَةُ بْنُ مُحَمَّدِ بْنِ الْعَبَّاسِ ثنا أَحْمَدُ بْنُ الْوَلِيدِ الْفَحَّامُ ثنا شَاذَانُ أنبأ سُفْيَانُ بْنُ عُيَيْنَةَ عَنْ أَبِي الْأَسْوَدِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّهُ كَانَ يَقُولُ عِنْدَ الصَّفَا اللهُمَّ أَحْيِنِي عَلَى سُنَّةِ نَبِيِّكَ ﷺ وَتَوَفَّنِي عَلَى مِلَّتِهِ وَأَعِذْنِي مِنْ مُضِلَّاتِ الْفِتَنِ