Sahih Muslim, Book 39, Hadith 181 (Muslim 5771)

Nafi' reported that he heard Abu Lubaba informing Ibn 'Umar that Allah's Messenger (ﷺ) had forbidden the killing of domestic snakes.