Khadija died three years before the Prophet (ﷺ) departed to Medina. He stayed there for…

Sahih al-Bukhari Book 63 Hadith 122

Sahih al-Bukhari #3896

Merits of the Helpers in Madinah (Ansaar) 63:122

Narrated Hisham's 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.

Chapter: Marriage of the Prophet (saws) with ‘Aishah رضي الله عنها

Grade: Sahih