Surah Dhariyaat Ibrahim عليه السلام And The Angels
your question is not clear. from the text, it is quite clear that they first came to Abraham and then went to the people of Lot.