حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، قَالَ حَدَّثَنِي عُقَيْلٌ، عَنِ ابْنِ شِهَابٍ، قَالَ حَدَّثَنِي ابْنُ أَبِي أَنَسٍ، مَوْلَى التَّيْمِيِّينَ أَنَّ أَبَاهُ، حَدَّثَهُ أَنَّهُ، سَمِعَ أَبَا هُرَيْرَةَ ـ رضى الله عنه ـ يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا دَخَلَ رَمَضَانُ فُتِّحَتْ أَبْوَابُ الْجَنَّةِ، وَغُلِّقَتْ أَبْوَابُ جَهَنَّمَ، وَسُلْسِلَتِ الشَّيَاطِينُ ".
Narrated Abu Huraira: Allah's Messenger (ﷺ) said, "When the month of Ramadan comes, the gates of Paradise are opened and the gates of the (Hell) Fire are closed, and the devils are chained."
Sahih al-Bukhari 3277
https://sunnah.com/bukhari:3277
Narrated Abu Huraira: Allah's Messenger (ﷺ) said, "When the month of Ramadan comes, the gates of Paradise are opened and the gates of the (Hell) Fire are closed, and the devils are chained."
Sahih al-Bukhari 3277
https://sunnah.com/bukhari:3277
Sunnah
Sahih al-Bukhari 3277 - Beginning of Creation - كتاب بدء الخلق - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله…
Hadith of the Prophet Muhammad (saws) in English and Arabic
❤2
وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا مُعَاذُ بْنُ هِشَامٍ، حَدَّثَنِي أَبِي، عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ، قَالَ حَدَّثَنَا أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ، أَنَّ أَبَا هُرَيْرَةَ، حَدَّثَهُمْ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " مَنْ صَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ وَمَنْ قَامَ لَيْلَةَ الْقَدْرِ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ " .
Abu Huraira reported Allah's Messenger (ﷺ) as saying: He who observed the fasts of Ramadan with faith and seeking reward (from Allah), all his previous sins would be forgiven, and he who observed prayer on Lailat-ul- Qadr with faith and seeking reward (from Allah), all his previous sins would be forgiven.
Sahih Muslim 760a
https://sunnah.com/muslim:760a
Abu Huraira reported Allah's Messenger (ﷺ) as saying: He who observed the fasts of Ramadan with faith and seeking reward (from Allah), all his previous sins would be forgiven, and he who observed prayer on Lailat-ul- Qadr with faith and seeking reward (from Allah), all his previous sins would be forgiven.
Sahih Muslim 760a
https://sunnah.com/muslim:760a
Sunnah
Sahih Muslim 760a - The Book of Prayer - Travellers - كتاب صلاة المسافرين وقصرها - Sunnah.com - Sayings and Teachings of Prophet…
Hadith of the Prophet Muhammad (saws) in English and Arabic
shamela2epub V1.4.0
What's Changed
- Switched to niquests instead of httpx and gevent, this fixes the issue of pages being downloaded in wrong order.
- Dependencies updates
Release Info | GitHub | PyPi
What's Changed
- Switched to niquests instead of httpx and gevent, this fixes the issue of pages being downloaded in wrong order.
- Dependencies updates
Release Info | GitHub | PyPi
GitHub
GitHub - yshalsager/shamela2epub: A tool to download a book on https://shamela.ws into an EPUB book. [Deprecated] use the new tool…
A tool to download a book on https://shamela.ws into an EPUB book. [Deprecated] use the new tool https://github.com/yshalsager/shamela-epub-exporter - yshalsager/shamela2epub
👏2
shamela2epub V1.4.3
What's Changed
- Based on Python3.12 and PyQt6
- New pre-complied executables for MacOS
New
- Add automatic retry on errors (again)
- Automatically skip downloading already existing files
Fixes
- Don't add gui command if it can't be imported in cli mode
Release Info | GitHub | PyPi
What's Changed
- Based on Python3.12 and PyQt6
- New pre-complied executables for MacOS
New
- Add automatic retry on errors (again)
- Automatically skip downloading already existing files
Fixes
- Don't add gui command if it can't be imported in cli mode
Release Info | GitHub | PyPi
GitHub
GitHub - yshalsager/shamela2epub: A tool to download a book on https://shamela.ws into an EPUB book. [Deprecated] use the new tool…
A tool to download a book on https://shamela.ws into an EPUB book. [Deprecated] use the new tool https://github.com/yshalsager/shamela-epub-exporter - yshalsager/shamela2epub
👍1
حَدَّثَنِي عَبْدُ اللَّهِ بْنُ مُحَمَّدٍ، حَدَّثَنَا هِشَامٌ، أَخْبَرَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنِ ابْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " كُلُّ عَمَلِ ابْنِ آدَمَ لَهُ، إِلاَّ الصَّوْمَ فَإِنَّهُ لِي، وَأَنَا أَجْزِي بِهِ، وَلَخَلُوفُ فَمِ الصَّائِمِ أَطْيَبُ عِنْدَ اللَّهِ مِنْ رِيحِ الْمِسْكِ ".
Narrated Abu Huraira: The Prophet (ﷺ) said, "(Allah said), 'Every good deed of Adam's son is for him except fasting; it is for Me. and I shall reward (the fasting person) for it.' Verily, the smell of the mouth of a fasting person is better to Allah than the smell of musk."
Sahih al-Bukhari 5927
https://sunnah.com/bukhari:5927
Narrated Abu Huraira: The Prophet (ﷺ) said, "(Allah said), 'Every good deed of Adam's son is for him except fasting; it is for Me. and I shall reward (the fasting person) for it.' Verily, the smell of the mouth of a fasting person is better to Allah than the smell of musk."
Sahih al-Bukhari 5927
https://sunnah.com/bukhari:5927
Sunnah
Sahih al-Bukhari 5927 - Dress - كتاب اللباس - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic
وعن ابن عباس رضي الله عنهما، أن النبي صلى الله عليه وسلم قال: "عمرة في رمضان تعدل عمرة أو حجة معي". ((متفق عليه))
Ibn 'Abbas (May Allah be pleased with them) reported: The Prophet (ﷺ) said, "(The performance of) 'Umrah during Ramadan is equal to Hajj (pilgrimage)." Or said, "Equal to the performance of Hajj with me." [Al-Bukhari and Muslim].
Riyad as-Salihin 1278
https://sunnah.com/riyadussalihin:1278
Ibn 'Abbas (May Allah be pleased with them) reported: The Prophet (ﷺ) said, "(The performance of) 'Umrah during Ramadan is equal to Hajj (pilgrimage)." Or said, "Equal to the performance of Hajj with me." [Al-Bukhari and Muslim].
Riyad as-Salihin 1278
https://sunnah.com/riyadussalihin:1278
Sunnah
Riyad as-Salihin 1278 - The Book of Hajj - كتاب الحج - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و…
Hadith of the Prophet Muhammad (saws) in English and Arabic
How The Nightclub Turned Me Into A Muslim
https://www.youtube.com/watch?v=S4slgFcsVaY
https://www.youtube.com/watch?v=S4slgFcsVaY
YouTube
How The Nightclub Turned Me Into A Muslim
Watch this video next: https://youtu.be/gUgiIRH3KDM
Join my Halal Business Workshop (LIVE):
https://himmah.ai/go/ytmd34
Connect with me on Instagram:
https://www.instagram.com/thomdefilet/
Join my Halal Business Workshop (LIVE):
https://himmah.ai/go/ytmd34
Connect with me on Instagram:
https://www.instagram.com/thomdefilet/
👍4
حَدَّثَنَا آدَمُ بْنُ أَبِي إِيَاسٍ، حَدَّثَنَا شُعْبَةُ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ صُهَيْبٍ، قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ـ رضى الله عنه ـ قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " تَسَحَّرُوا فَإِنَّ فِي السَّحُورِ بَرَكَةً ".
Narrated Anas bin Malik: The Prophet (ﷺ) said, "Take Suhur as there is a blessing in it."
Sahih al-Bukhari 1923
https://sunnah.com/bukhari:1923
Narrated Anas bin Malik: The Prophet (ﷺ) said, "Take Suhur as there is a blessing in it."
Sahih al-Bukhari 1923
https://sunnah.com/bukhari:1923
Sunnah
Sahih al-Bukhari 1923 - Fasting - كتاب الصوم - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا الأَعْمَشُ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " يَقُولُ اللَّهُ عَزَّ وَجَلَّ الصَّوْمُ لِي وَأَنَا أَجْزِي بِهِ يَدَعُ شَهْوَتَهُ وَأَكْلَهُ وَشُرْبَهُ مِنْ أَجْلِي، وَالصَّوْمُ جُنَّةٌ، وَلِلصَّائِمِ فَرْحَتَانِ فَرْحَةٌ حِينَ يُفْطِرُ وَفَرْحَةٌ حِينَ يَلْقَى رَبَّهُ، وَلَخَلُوفُ فَمِ الصَّائِمِ أَطْيَبُ عِنْدَ اللَّهِ مِنْ رِيحِ الْمِسْكِ ".
Narrated Abu Huraira: The Prophet (ﷺ) said, "Allah said: The Fast is for Me and I will give the reward for it, as he (the one who observes the fast) leaves his sexual desire, food and drink for My Sake. Fasting is a screen (from Hell) and there are two pleasures for a fasting person, one at the time of breaking his fast, and the other at the time when he will meet his Lord. And the smell of the mouth of a fasting person is better in Allah's Sight than the smell of musk." (See Hadith No. 128, Vol. 3).
Sahih al-Bukhari 7492
https://sunnah.com/bukhari:7492
Narrated Abu Huraira: The Prophet (ﷺ) said, "Allah said: The Fast is for Me and I will give the reward for it, as he (the one who observes the fast) leaves his sexual desire, food and drink for My Sake. Fasting is a screen (from Hell) and there are two pleasures for a fasting person, one at the time of breaking his fast, and the other at the time when he will meet his Lord. And the smell of the mouth of a fasting person is better in Allah's Sight than the smell of musk." (See Hadith No. 128, Vol. 3).
Sahih al-Bukhari 7492
https://sunnah.com/bukhari:7492
Sunnah
Sahih al-Bukhari 7492 - Oneness, Uniqueness of Allah (Tawheed) - كتاب التوحيد - Sunnah.com - Sayings and Teachings of Prophet…
Hadith of the Prophet Muhammad (saws) in English and Arabic
حَدَّثَنَا إِسْمَاعِيلُ، قَالَ حَدَّثَنِي مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ".
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said: "Whoever establishes prayers during the nights of Ramadan faithfully out of sincere faith and hoping to attain Allah's rewards (not for showing off), all his past sins will be forgiven."
Sahih al-Bukhari 37
https://sunnah.com/bukhari:37
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said: "Whoever establishes prayers during the nights of Ramadan faithfully out of sincere faith and hoping to attain Allah's rewards (not for showing off), all his past sins will be forgiven."
Sahih al-Bukhari 37
https://sunnah.com/bukhari:37
Sunnah
Sahih al-Bukhari 37 - Belief - كتاب الإيمان - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic
❤1🔥1
حَدَّثَنَا الْحُمَيْدِيُّ، حَدَّثَنَا سُفْيَانُ، حَدَّثَنَا هِشَامُ بْنُ عُرْوَةَ، قَالَ سَمِعْتُ أَبِي يَقُولُ، سَمِعْتُ عَاصِمَ بْنَ عُمَرَ بْنِ الْخَطَّابِ، عَنْ أَبِيهِ ـ رضى الله عنه ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا أَقْبَلَ اللَّيْلُ مِنْ هَا هُنَا، وَأَدْبَرَ النَّهَارُ مِنْ هَا هُنَا، وَغَرَبَتِ الشَّمْسُ، فَقَدْ أَفْطَرَ الصَّائِمُ ".
Narrated `Umar bin Al-Khattab: Allah's Messenger (ﷺ) said, "When night falls from this side and the day vanishes from this side and the sun sets, then the fasting person should break his fast."
Sahih al-Bukhari 1954
https://sunnah.com/bukhari:1954
Narrated `Umar bin Al-Khattab: Allah's Messenger (ﷺ) said, "When night falls from this side and the day vanishes from this side and the sun sets, then the fasting person should break his fast."
Sahih al-Bukhari 1954
https://sunnah.com/bukhari:1954
Sunnah
Sahih al-Bukhari 1954 - Fasting - كتاب الصوم - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic
🔥1
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنْ أَبِي حَازِمٍ، عَنْ سَهْلِ بْنِ سَعْدٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " لاَ يَزَالُ النَّاسُ بِخَيْرٍ مَا عَجَّلُوا الْفِطْرَ ".
Narrated Sahl bin Sa`d: Allah's Messenger (ﷺ) said, "The people will remain on the right path as long as they hasten the breaking of the fast."
Sahih al-Bukhari 1957
https://sunnah.com/bukhari:1957
Narrated Sahl bin Sa`d: Allah's Messenger (ﷺ) said, "The people will remain on the right path as long as they hasten the breaking of the fast."
Sahih al-Bukhari 1957
https://sunnah.com/bukhari:1957
Sunnah
Sahih al-Bukhari 1957 - Fasting - كتاب الصوم - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، عَنْ مَالِكٍ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " الصِّيَامُ جُنَّةٌ، فَلاَ يَرْفُثْ وَلاَ يَجْهَلْ، وَإِنِ امْرُؤٌ قَاتَلَهُ أَوْ شَاتَمَهُ فَلْيَقُلْ إِنِّي صَائِمٌ. مَرَّتَيْنِ، وَالَّذِي نَفْسِي بِيَدِهِ لَخُلُوفُ فَمِ الصَّائِمِ أَطْيَبُ عِنْدَ اللَّهِ تَعَالَى مِنْ رِيحِ الْمِسْكِ، يَتْرُكُ طَعَامَهُ وَشَرَابَهُ وَشَهْوَتَهُ مِنْ أَجْلِي، الصِّيَامُ لِي، وَأَنَا أَجْزِي بِهِ، وَالْحَسَنَةُ بِعَشْرِ أَمْثَالِهَا ".
Narrated Abu Huraira: Allah's Messenger (ﷺ) said, "Fasting is a shield (or a screen or a shelter). So, the person observing fasting should avoid sexual relation with his wife and should not behave foolishly and impudently, and if somebody fights with him or abuses him, he should tell him twice, 'I am fasting." The Prophet (ﷺ) added, "By Him in Whose Hands my soul is, the smell coming out from the mouth of a fasting person is better in the sight of Allah than the smell of musk. (Allah says about the fasting person), 'He has left his food, drink and desires for My sake. The fast is for Me. So I will reward (the fasting person) for it and the reward of good deeds is multiplied ten times."
Sahih al-Bukhari 1894
https://sunnah.com/bukhari:1894
Narrated Abu Huraira: Allah's Messenger (ﷺ) said, "Fasting is a shield (or a screen or a shelter). So, the person observing fasting should avoid sexual relation with his wife and should not behave foolishly and impudently, and if somebody fights with him or abuses him, he should tell him twice, 'I am fasting." The Prophet (ﷺ) added, "By Him in Whose Hands my soul is, the smell coming out from the mouth of a fasting person is better in the sight of Allah than the smell of musk. (Allah says about the fasting person), 'He has left his food, drink and desires for My sake. The fast is for Me. So I will reward (the fasting person) for it and the reward of good deeds is multiplied ten times."
Sahih al-Bukhari 1894
https://sunnah.com/bukhari:1894
Sunnah
Sahih al-Bukhari 1894 - Fasting - كتاب الصوم - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic
حَدَّثَنَا هَنَّادٌ، حَدَّثَنَا عَبْدُ الرَّحِيمِ بْنُ سُلَيْمَانَ، عَنْ عَبْدِ الْمَلِكِ بْنِ أَبِي سُلَيْمَانَ، عَنْ عَطَاءٍ، عَنْ زَيْدِ بْنِ خَالِدٍ الْجُهَنِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَنْ فَطَّرَ صَائِمًا كَانَ لَهُ مِثْلُ أَجْرِهِ غَيْرَ أَنَّهُ لاَ يَنْقُصُ مِنْ أَجْرِ الصَّائِمِ شَيْئًا " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ .
Zaid bin Khalid Al-Juhani narrated that: The Messenger of Allah said: "Whoever provides the food for a fasting person to break his fast with, then for him is the same reward as his (the fasting person's), without anything being diminished from the reward of the fasting person."
Jami` at-Tirmidhi 807
Grade: Sahih (Darussalam)
https://sunnah.com/tirmidhi:807
Zaid bin Khalid Al-Juhani narrated that: The Messenger of Allah said: "Whoever provides the food for a fasting person to break his fast with, then for him is the same reward as his (the fasting person's), without anything being diminished from the reward of the fasting person."
Jami` at-Tirmidhi 807
Grade: Sahih (Darussalam)
https://sunnah.com/tirmidhi:807
Sunnah
Jami` at-Tirmidhi 807 - The Book on Fasting - كتاب الصوم عن رسول الله صلى الله عليه وسلم - Sunnah.com - Sayings and Teachings…
Hadith of the Prophet Muhammad (saws) in English and Arabic
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا لَيْثٌ، عَنْ مُوسَى بْنِ عُلَىٍّ، عَنْ أَبِيهِ، عَنْ أَبِي قَيْسٍ، مَوْلَى عَمْرِو بْنِ الْعَاصِ عَنْ عَمْرِو بْنِ الْعَاصِ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " فَصْلُ مَا بَيْنَ صِيَامِنَا وَصِيَامِ أَهْلِ الْكِتَابِ أَكْلَةُ السَّحَرِ " .
'Amr b. al-'As reported Allah's Messenger (ﷺ) as saying: The difference between our fasting and that of the people of the Book is eating shortly before dawn.
Sahih Muslim 1096a
https://sunnah.com/muslim:1096a
'Amr b. al-'As reported Allah's Messenger (ﷺ) as saying: The difference between our fasting and that of the people of the Book is eating shortly before dawn.
Sahih Muslim 1096a
https://sunnah.com/muslim:1096a
Sunnah
Sahih Muslim 1096a - The Book of Fasting - كتاب الصيام - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه…
Hadith of the Prophet Muhammad (saws) in English and Arabic
حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا جَعْفَرُ بْنُ سُلَيْمَانَ، حَدَّثَنَا ثَابِتٌ الْبُنَانِيُّ، أَنَّهُ سَمِعَ أَنَسَ بْنَ مَالِكٍ، يَقُولُ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُفْطِرُ عَلَى رُطَبَاتٍ قَبْلَ أَنْ يُصَلِّيَ فَإِنْ لَمْ تَكُنْ رُطَبَاتٌ فَعَلَى تَمَرَاتٍ فَإِنْ لَمْ تَكُنْ حَسَا حَسَوَاتٍ مِنْ مَاءٍ .
Narrated Anas ibn Malik:
The Messenger of Allah (ﷺ) used to break his fast before praying with some fresh dates; but if there were no fresh dates, he had a few dry dates, and if there were no dry dates, he took some mouthfuls of water.
Sunan Abi Dawud 2356
Grade: Hasan Sahih (Al-Albani)
https://sunnah.com/abudawud:2356
Narrated Anas ibn Malik:
The Messenger of Allah (ﷺ) used to break his fast before praying with some fresh dates; but if there were no fresh dates, he had a few dry dates, and if there were no dry dates, he took some mouthfuls of water.
Sunan Abi Dawud 2356
Grade: Hasan Sahih (Al-Albani)
https://sunnah.com/abudawud:2356
Sunnah
Sunan Abi Dawud 2356 - Fasting (Kitab Al-Siyam) - كتاب الصوم - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله…
Hadith of the Prophet Muhammad (saws) in English and Arabic
❤2
Forwarded from Valentino Gagliardi
Today I re-learned: Python function default arguments are cached
https://www.valentinog.com/blog/tirl-python-default-arguments/
🐍 A short story about Python function default arguments, and why testing even simple things is important.
https://www.valentinog.com/blog/tirl-python-default-arguments/
🐍 A short story about Python function default arguments, and why testing even simple things is important.
Valentino Gagliardi's Blog
Today I re-learned: Python function default arguments are retained between executions
A short story about Python function default arguments, and why testing even simple things is important.
حَدَّثَنَا خَالِدُ بْنُ مَخْلَدٍ، حَدَّثَنَا سُلَيْمَانُ بْنُ بِلاَلٍ، قَالَ حَدَّثَنِي أَبُو حَازِمٍ، عَنْ سَهْلٍ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " إِنَّ فِي الْجَنَّةِ بَابًا يُقَالُ لَهُ الرَّيَّانُ، يَدْخُلُ مِنْهُ الصَّائِمُونَ يَوْمَ الْقِيَامَةِ، لاَ يَدْخُلُ مِنْهُ أَحَدٌ غَيْرُهُمْ يُقَالُ أَيْنَ الصَّائِمُونَ فَيَقُومُونَ، لاَ يَدْخُلُ مِنْهُ أَحَدٌ غَيْرُهُمْ، فَإِذَا دَخَلُوا أُغْلِقَ، فَلَمْ يَدْخُلْ مِنْهُ أَحَدٌ ".
Narrated Sahl: The Prophet (ﷺ) said, "There is a gate in Paradise called Ar-Raiyan, and those who observe fasts will enter through it on the Day of Resurrection and none except them will enter through it. It will be said, 'Where are those who used to observe fasts?' They will get up, and none except them will enter through it. After their entry the gate will be closed and nobody will enter through it."
Sahih al-Bukhari 1896
https://sunnah.com/bukhari:1896
Narrated Sahl: The Prophet (ﷺ) said, "There is a gate in Paradise called Ar-Raiyan, and those who observe fasts will enter through it on the Day of Resurrection and none except them will enter through it. It will be said, 'Where are those who used to observe fasts?' They will get up, and none except them will enter through it. After their entry the gate will be closed and nobody will enter through it."
Sahih al-Bukhari 1896
https://sunnah.com/bukhari:1896
Sunnah
Sahih al-Bukhari 1896 - Fasting - كتاب الصوم - Sunnah.com - Sayings and Teachings of Prophet Muhammad (صلى الله عليه و سلم)
Hadith of the Prophet Muhammad (saws) in English and Arabic
❤2