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.
bayhaqi:13528Abū al-Ḥusayn b. Bishrān > Ismāʿīl b. Muḥammad al-Ṣaffār > Aḥmad b. Manṣūr > ʿAbd al-Razzāq > Maʿmar > Thābit > Anas

[Machine] When the Messenger of Allah ﷺ arrived in Medina, the Abyssinians played with their spears in joy of his coming. If this story, as narrated by Aisha, is true, then it indicates that she was not mature at that time. The Messenger of Allah ﷺ built it (a mosque) when he arrived in Medina, and she was nine years old at the time. It is possible that this was before the hijab was obligated for them.  

البيهقي:١٣٥٢٨مَا أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ أنبأ إِسْمَاعِيلُ بْنُ مُحَمَّدٍ الصَّفَّارُ ثنا أَحْمَدُ بْنُ مَنْصُورٍ ثنا عَبْدُ الرَّزَّاقِ أنبأ مَعْمَرٌ عَنْ ثَابِتٍ عَنْ أَنَسٍ ؓ قَالَ

لَمَّا قَدِمَ رَسُولُ اللهِ ﷺ الْمَدِينَةَ لَعِبَتِ الْحَبَشَةُ بِحِرَابِهِمْ فَرَحًا بِقُدُومِهِ فَإِنْ كَانَتْ هَذِهِ الْقِصَّةُ وَمَا رَوَتْهُ عَائِشَةُ وَاحِدَةً فَفِيهَا مَا دَلَّ عَلَى أَنَّهَا كَانَتْ غَيْرَ بَالِغَةٍ فِي ذَلِكَ الْوَقْتِ فَرَسُولُ اللهِ ﷺ بَنَى بِهَا حِينَ قَدِمَ الْمَدِينَةَ وَهِيَ ابْنَةُ تِسْعِ سِنِينَ وَيُحْتَمَلُ أَنَّ ذَلِكَ كَانَ قَبْلَ أَنْ يُضْرَبَ عَلَيْهِنَّ الْحِجَابُ