Raqabah bin Masqalah said: When the time of death drew near for Sayyiduna Hasan bin Ali (may Allah be pleased with him), he said: Take me out into the open desert, so that perhaps I may reflect on the dominion of the heavens - meaning the (cosmic) signs. When he was taken out, he said: "O Allah, I entrust my soul to You and seek its reward from You, for it is the dearest of souls to me." And among what Allah did for him was that he sought the reward for (entrusting) his soul (to Allah).
Hadith Referenceالمعجم الكبير للطبراني / باب الحاء / 2679