It is narrated from Hazrat Aisha (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) said: Whoever gets up to pray at any part of the night and (one night) sleep overcomes him (so he cannot pray), the reward for the prayer is written for him, and his sleep is also considered charity for which he is rewarded.