Quran 29:27- Prophets In The Progeny Of Ibrahim AS
The third son’s progeny was never given prophethood as we know from the Bible and the Quran. Giving prophethood in the line of Abraham does not necessarily include all his progeny. The verse you mentioned about no warner was sent to Bani Ishmael before Muhammad implies that Quraysh were the progeny of Ishmael, and in this sense, Ishmael was not sent to them rather they were born to him and after wards as believers initially so no warner they needed then and no warner sent to them since they went astray.