Security camera footage accessed and verified by the Associated Press showed Air India flight 171 bound for London taking off and crashing into a medical college in the northwestern city of Ahmedabad on Thursday, killing more than 180 people in one of India's worst airline disasters in decades.
Also gear should probably be retracted first (though I don’t actually know for certain for this aircraft)
Usually the gear is retracted almost immediately after takeoff, as it creates a huge amount of unnecessary drag if left out when not needed.