Prophet Lut (a) was sent by Allah to guide the people of Sodom, who had become corrupt and committed bad deeds. He tried to teach them the right path but they did not listen. One day, three angels came to Lut in the form of young men. Lut took them into his home but his wife alerted the townspeople of their presence. The people demanded Lut hand over his guests but he refused. The angels revealed their true identities and blinded the people. They warned Lut and his family to leave before Allah's punishment, which came the next day when stones rained from the sky, destroying the entire town.