Sayyiduna Ibn Umar (may Allah be pleased with them both) used to order that snakes be killed and thrown away.