The Prophet (ﷺ) wrote the (marriage contract) with `Aisha while she was six years old and consummated his marriage with her while she was nine years old and she remained with him for nine years (i.e. till his death).
Sahih al-Bukhari Book 67, Hadith 93