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.
ahmad-zuhd:2084ʿAbdullāh

[Machine] I heard a brother saying, "O Allah, if You have written us among the miserable before You, then erase us and write us as happy. And if You have written us as happy, then make us firm, for You eliminate what You will and establish, and the Mother of the Book is with You."  

الزهد لأحمد:٢٠٨٤حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنِي أَبُو عَلِيٍّ الْحَسَنُ بْنُ حَمَّادٍ الْوَرَّاقُ الْكُوفِيُّ حَدَّثَنَا غَنَّامٌ عَنِ الْأَعْمَشِ قَالَ

سَمِعْتُ شَقِيقًا يَقُولُ «اللَّهُمَّ إِنْ كُنْتَ كَتَبْتَنَا عِنْدَكَ مِنَ الْأَشْقِيَاءِ فَامْحُنَا واكْتُبْنَا سُعَدَاءَ وَإِنْ كُنْتَ كَتَبْتَنَا سُعَدَاءَ فَاثبِتْنَا فَإِنَّكَ تَمْحُو مَا تَشَاءُ وَتُثْبِتُ وَعِنْدَكَ أُمُّ الْكِتَابِ»  


See similar narrations below:

Collected by Suyūṭī
suyuti:2-2502bAbiá ʿUthmān al-Nhdá > Smʿt ʿMr b. al-Khṭāb / Yaṭūf Bi-al-Byt > Allāhm In Kunt Katabtaniá
Request/Fix translation

  

السيوطي:٢-٢٥٠٢b

"عَنْ أَبِى عُثْمانَ النهدى قال: سمعتُ عمرَ بنَ الخطابِ وَهُوَ يَطُوفُ بِالبيتِ يَقُولُ: اللهم إِنْ كُنْتَ كَتَبْتَنِى في السَّعَادةِ فَأَبْقِنِى فيها، وَإِنْ كُنتَ كتَبْتَنِى في الشَّقَاوَةِ فامْحُنى (* *) منها وأَبْقِنىِ في السَّعَادةِ؛ فإِنَّكَ تَمْحُو مَا تَشَاءُ وتُثْبِتُ وعِنْدَكَ أُمُّ الكتاب".  

اللالكائى