Prophet Saleh (pbuh) was sent to the people of Thamood. The tribe of Thamood were well to do people who lived in the valley of Hijr between Madina and Syria. They used to carve their homes of huge rocks in the mountains. The tribe of Thamood is also known as the second Aad. Allah had favoured them with wealth and bounties but they forgot him and worshipped idols.