It is narrated from Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) sent an army towards al-Lat and al-Uzza (to demolish the idols). They raided a tribe of the Arabs and took their fighters and offspring captive. Those people said (in the presence of the Messenger): "O Messenger of Allah! These people attacked us without (first) inviting us (to Islam)." So he (peace and blessings be upon him) questioned the members of that expedition, and they confirmed their account, whereupon he (peace and blessings be upon him) said: "Return them to their place of safety, and then invite them to Islam."
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / كتاب الجهاد / 2020
Hadith Gradingمحدثین:إسناده ضعيف جدًا
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده ضعيف جدًا، فيه الواقدي، وهو متروك. » «أخرجه السنن الكبرى للبيهقي برقم: 18300»