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.
bukhari:3896ʿUbayd b. Ismāʿīl > Abū Usāmah > Hishām from his father

Khadija died three years before the Prophet ﷺ departed to Medina. He stayed there for two years or so and then he married ʿAisha when she was a girl of six years of age, and he consumed that marriage when she was nine years old.  

البخاري:٣٨٩٦حَدَّثَنِي عُبَيْدُ بْنُ إِسْمَاعِيلَ حَدَّثَنَا أَبُو أُسَامَةَ عَنْ هِشَامٍ عَنْ أَبِيهِ قَالَ

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


See similar narrations below:

Collected by Ṭabarānī
tabarani:19447al-Ḥusayn b. Isḥāq al-Tustarī > Yaʿqūb b. Ḥumayd b. Kāsib > ʿAbdullāh b. Muḥammad b. Yaḥyá b. ʿUrwah > Hishām b. ʿUrwah from his father > ʿĀʾishah

[Machine] The Prophet ﷺ married her before leaving Mecca for Medina, when she was three years old, or close to that. He consummated the marriage when she was six years old. After his arrival in Medina and when she was nine years old, he built a marital relationship with her.  

الطبراني:١٩٤٤٧حَدَّثَنَا الْحُسَيْنُ بْنُ إِسْحَاقَ التُّسْتَرِيُّ حَدَّثَنِي يَعْقُوبُ بْنُ حُمَيْدِ بْنِ كَاسِبٍ ثنا عَبْدُ اللهِ بْنُ مُحَمَّدِ بْنِ يَحْيَى بْنِ عُرْوَةَ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ عَنْ عَائِشَةَ

أَنَّ النَّبِيَّ ﷺ «تَزَوَّجَهَا قَبْلَ مَخْرَجِهِ مِنْ مَكَّةَ بِثَلَاثِ سِنِينَ أَوْ قَرِيبًا مِنْ ذَلِكَ وَنَكَحَهَا وَهِيَ بِنْتُ سِتِّ سِنِينَ ثُمَّ بَنَى بِهَا بَعْدَ مَقْدَمِهِ الْمَدِينَةَ وَهِيَ يَوْمَ بِنَائِهَا بِنْتُ تِسْعٍ»