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