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.
suyuti:673-104b

[Machine] On the night of the middle of Sha'ban, the Prophet ﷺ slipped out from his blanket and by Allah, he was not wearing a hat, a turban, or any clothes made of cotton or silk, his garment was made of hair. Even though his flesh was from the meat of camels, I thought he had brought some of his wives, so I said, "Shall I look for you (to see if anyone is with you) in the house ?" My hand happened to touch his feet while he was prostrating and had heard him saying while supplicating: "my humility is on its forehead, my intelligence and my trust of you are on your heart, I ask your blessings and admit my faults. You are the only one who can forgive great sins. I seek your forgiveness and protection from your punishment, your anger and your displeasure. I seek refuge in your mercy, and am hopeful that you will be pleased with me. I never stop praising you. As you have praised yourself, he stayed standing or sitting until I saw him in the morning; his feet were swollen because of the bleeding. I asked him: "did Allah not forgive you everything, past and future?" He replied, "O Aisha! Should I not be a grateful servant? Do you know what this night is?" I asked, "What is it?" He replied, "Every newborn is written on this night. Every deceased is written on this night. Their sustenance descends and their deeds are elevated." I asked, "O Messenger of Allah, is not everyone saved by the mercy of Allah?" He said, "Yes." I asked, "What about you?" He replied, "Only if Allah envelops me in His mercy." And he wiped his hand over his face.  

السيوطي:٦٧٣-١٠٤b

"لَمَّا كَانَتْ لَيْلَةُ النِّصْفِ مِنْ شَعْبَانَ انْسَلَّ النَّبِيُّ ﷺ مِنْ مِرطى وَالله مَا كَانَ مِنْ جَزْءٍ وَلَا قَزٍّ وَلَا مِنْ كِتَّانٍ، وَلَا كُرْسُفٍ، وَلَا صُوفٍ إِلَّا كَانَ سُدَاهُ مِنْ شَعَرٍ، وَإِنْ كَانَتْ لُحْمَتُهُ مِنْ وَبَر الإِبِلِ، فَأَحْسِبُ نَفْسِي أَنْ يَكُونَ أَتَى بَعْضَ نِسَائِهِ، فَقُلْتُ: أَلْتِمَسُهُ فِي البَيْتِ، فَوَقَعَتْ يَدِي عَلَى قَدَمَيْهِ وَهُوَ سَاجِدٌ، فَحَفِظْتُ مِنْ دُعَائِهِ وَهُوَ يَقُولُ: سَجَدَ لَكَ سَوَادِي، وَخَيَالِي، وَآمَنَ بِكَ فؤادي، أبوء لك بِالنِّعَمِ، وَأَعْتَرِفُ لَكَ بِالذَّنْبِ، ظَلَمْتُ نَفْسِي فَاغْفِر لِي إِنَّهُ لَا يَغْفِرُ الذَّنْبَ العَظِيمَ إِلا أَنْتَ، أَعُوذُ بِعَفْوِكَ مِنْ عُقُوبَتِكَ، وَأَعُوذُ بِرَحْمَتِكَ مِنْ نِقمَتِكَ، وَأَعُوذُ بِرِضَاكَ مِنْ سَخَطِكَ، وَأَعُوذُ بِكَ مِنْكَ، جَلَّ وَجْهُكَ، لَا أُحْصِي ثَنَاءً عَلَيْكَ، أَنْتَ كَمَا أَثْنَيْتَ عَلَى نَفْسِكَ، فَمَا زَالَ قَائِمًا وَقَاعِدًا حَتَّى أَصْبَحْتُ فَأَصبَحَ وَقدِ اصْطَهَدَتْ قَدَمَاهُ، وَإِنِّي لا عمرها وَأَقُولُ: بِأَبي وَأُمِّي أَلَيْسَ غَفَرَ اللهُ - تَعَالَى - لَكَ مَا تَقَدَّمَ وَمَا تَأَخَّرَ؟ فَقَالَ: يَا عَائِشَةُ! أَفَلا أَكَوُنُ عَبْدًا شَكُورًا؟ هَلْ تَدْرِيْنَ مَا فِي هَذِهِ اللَّيْلَةِ؟ قُلْتُ: وَمَا فِيهَا؟ قَالَ: فِيهَا يكْتَبُ كُلُّ مَوْلُودٍ فِي هَذِهِ السَّنَةِ، وَفِيهَا يُكْتَبُ كُلُّ مَيِّتٍ، وَفِيهَا تَنْزِلُ أَرْزَاقُهُمْ وَفِيهَا تُرْفَعُ أَعْمَالُهُمْ، قُلْتُ: يَا رَسُولَ اللهِ! مَا أَحَدٌ يَدْخُلُ الجَنَّةَ إِلا بِرَحمةِ اللهِ - تَعَالَى-؟ قَالَ: نَعَمْ، قُلْتُ: وَلَا أَنْتَ؟ قَالَ: وَلَا أَنَا إِلا أَنْ يَتَغَمَّدَنِي اللهُ - تَعَالَى- بِرَحْمَتِهِ، وَمَسَحَ يَدَهُ عَلَى هَامَتِهِ إِلَى وَجْهِهِ".  

ابن شاهين في الترغيب