Abu Hurairah reported,

All of these narrated it from the Prophet ﷺ in the same wording as the hadith of Zuhri, except that in the versions of Ala and Safwan bin Salim the phrase "toward which people lift their eyes" does not occur, and in the version of Hammam it reads "toward which the believers lift their eyes," and "he is not a believer at the moment he plunders it." He also added, "And let none of you steal from the spoils, for he is not a believer at the moment he steals. So beware, beware!"

Muslim 207

Sahih

كل هؤلاء بمثل حديث الزهري غير أن العلاء وصفوان بن سليم ليس في حديثهما يرفع الناس إليه فيها أبصارهم وفي حديث همام يرفع إليه المؤمنون أعينهم فيها وهو حين ينتهبها مؤمن وزاد ولا يغل أحدكم حين يغل وهو مؤمن فإياكم إياكم

مسلم 207صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Explanation of the decrease of faith due to sins and its negation from the one committing sin, meaning the negation of its perfection
Numbering
Darussalam 207
Muslim 207