Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) used to make this supplication: "O Allah, if You have written me among the wretched, then erase me, and establish me among the fortunate."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 8815