صحيح مسلم
From Sahih Muslim (Hadith 5837):
Abdullah reported that Allah's Messenger (ﷺ) commanded a Muhrim (one who is in the state of pilgrimage) to kill the snake at Mina
Reference: Muslim 5837