Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:20:103

They will murmur among themselves, "You remained not but ten ˹days in the world˺."  

They will whisper to one another, speaking secretly amongst themselves: ‘You have tarried, in this world, only ten nights’, with the ˹full ten˺ days.
القرآن:٢٠:١٠٣

يَتَخَافَتُونَ بَيْنَهُمْ إِنْ لَبِثْتُمْ إِلَّا عَشْرًا  

{يتخافتون بينهم} يتسارون {إن} ما {لبثتم} في الدنيا {إلا عشرا} من الليالي بأيامها.