The Messenger of Allah (May peace be upon him) got some prisoners of war (slaves). I my sister and Fatimah, daughter of the prophet (May peace be upon him), went to the prophet (May peace be upon him). We complained to him about our condition, and asked him to command for giving us some prisoners (slaves). The Messenger of Allah (May peace be upon him) said; The orphans of Badr came before you (and took the slaves). The transmitter then mentioned the story of glorifying Allah after every prayer. He did not mention sleeping.
أَنَّهَا قَالَتْ أَصَابَ رَسُولُ اللَّهِ ﷺ سَبْيًا فَذَهَبْتُ أَنَا وَأُخْتِي وَفَاطِمَةُ بِنْتُ النَّبِيِّ ﷺ إِلَى النَّبِيِّ ﷺ فَشَكَوْنَا إِلَيْهِ مَا نَحْنُ فِيهِ وَسَأَلْنَاهُ أَنْ يَأْمُرَ لَنَا بِشَىْءٍ مِنَ السَّبْىِ فَقَالَ رَسُولُ اللَّهِ ﷺ سَبَقَكُنَّ يَتَامَى بَدْرٍ ثُمَّ ذَكَرَ قِصَّةَ التَّسْبِيحِ قَالَ عَلَى أَثَرِ كُلِّ صَلاَةٍ لَمْ يَذْكُرِ النَّوْمَ