The Prophet ﷺ commanded her to kill geckos.
حدثنا أبو بكر بن أبي شيبة حدثنا سفيان بن عيينة عن عبد الحميد بن جبير عن سعيد بن المسيب
أن النبي ﷺ أمرها بقتل الأوزاغ
No references are available.
Bukhari narrated it in Bad al-Khalq, chapter "The best wealth of a Muslim is sheep that he takes to the mountain peaks," no. 3307, from the hadith of Sufyan, with this wording. Muslim also narrated it in Salaam, chapter "The recommendation of killing lizards," no. 142/2237, from Ibn Abu Shayba, with this wording.