Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) said: Captives from (the worshippers of) al-Lat and al-Uzza were brought to the Messenger of Allah (peace and blessings be upon him). The narrator said: The Messenger of Allah (peace and blessings be upon him) said: "Did you invite them to Islam?" They said: No. He (peace and blessings be upon him) said to them (the captives): "Did they invite you to Islam?" They said: No. He (peace and blessings be upon him) said: "Let them go until they reach their place of safety." Then he (peace and blessings be upon him) recited these two verses: "Indeed, We have sent you as a witness, a bearer of good tidings and a warner, and as one who invites to Allah by His permission, and as an illuminating lamp." [Surah al-Ahzab: 46] and "And this Qur'an has been revealed to me so that I may warn you thereby and whomever it reaches. Do you indeed testify that there are other gods besides Allah?" [Surah al-An'am: 19] to the end of the verse.
Rawh bin Musafir is da'if (weak).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18233