Sayyiduna Abu Hurayrah (may Allah be pleased with him) says: We went with the Messenger of Allah (peace and blessings be upon him) towards Wadi al-Qura. He mentioned the hadith about the conquest of Wadi al-Qura. He (peace and blessings be upon him) stayed in Wadi al-Qura for four days. He distributed the spoils obtained at Wadi al-Qura among the Companions (may Allah be pleased with them), and made the Jews workers on the land and the date-palm orchards. Then Sayyiduna Umar (may Allah be pleased with him), in his time, expelled the Jews of Khaybar and Fadak, but did not expel the people of Tayma and Wadi al-Qura, because both were included in the land of Syria. In our view, the land on this side of Wadi al-Qura (towards Madinah) is part of the Hijaz, while that beyond it is part of Syria. The Shaykh says: I think this last statement is the saying of al-Waqidi.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجزية / 18760