Thabit bin Rafi reported,

I heard the Messenger of Allah ﷺ say, "Beware of misappropriating from the spoils. A man might have intercourse with a woman before the spoils are divided and then return her to the share, or wear a garment until it wears out and then return it to the share."

Azami 8050

Sahih

عن ثابت بن رفيع- وكان يؤمر على السرايا

- سمعت رسول الله ﷺ يقول: إياكم والغلول، الرجل ينكح المرأة قبل أن يقسم، ثم يردها إلى القسم، أو يلبس الثوب حتى يخلق ثم يردها إلى القسم.

الأعظمي 8050صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Spoils of war, anfal, and fay
Section
Prohibition of ghulul
Numbering
Jami al-Kamil 8050 (2nd edition)
Azami 8050