PerfectTimeToSleepAndSalatTime

Calculate perfect sleep cycles based on Islamic prayer times (Salat) and the example of Prophet Dawud (David). Automatically detects user's city using IP address.

Author
MeGa Mosbah
Daily installs
0
Total installs
9
Ratings
0 0 0
Version
1.5
Created
2022-12-27
Updated
2025-03-15
Size
6.86 KB
License
N/A
Applies to
All sites

عَنْ عبدِاللَّهِ بنِ عَمْرو بنِ العَاصِ، رَضيَ اللَّه عَنْهُمَا أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ: أَحَبُّ الصَّلاةِ إِلَى اللَّهِ صَلاةُ دَاوُدَ، وَأَحبُّ الصيامِ إِلَى اللَّهِ صِيامُ دَاوُدَ، كانَ يَنَامُ نِصْفَ اللَّيْل وَيَقُومُ ثُلُثَهُ ويَنَامُ سُدُسَهُ وَيصومُ يَومًا وَيُفطِرُ يَومًا متفقٌ عليه.
The Messenger of Allah (ﷺ) said, "The Salat which is dearest to Allah is that of (Prophet) Dawud; and As-Saum (the fasting) which is dearest to Allah is that of (Prophet) Dawud. He used to sleep half the night, get up to perform Salat for one-third of it, then sleep through the remaining one-sixth of it; and he used to observe Saum on alternative days."

And from that i devise the night in a six part and By the way this chrometers is the perfect time to sleep ans a perfect time to wake-up.