Built on land from Banu an-Najjar soon after the Hijrah, with the Prophet ﷺ carrying stones himself. He passed away in Aisha's room next to it, and that room is now within the expanded mosque.