The Prophet ﷺ said, "There is no one who has a regular night prayer but is overcome by sleep, except that his sleep is counted as a charity for him, and the reward of his prayer is recorded for him."
حدثنا عبد الرحمن عن مالك عن محمد بن المنكدر عن سعيد بن جبير عن رجل
عن النبي ﷺ قال ما من امرئ يكون له صلاة من الليل يغلبه عليها نوم إلا كان نومه عليه صدقة وكتب له أجر صلاته