Jabir bin Abdullah reported,

The Messenger of Allah ﷺ said, "Do not let your livestock and children roam free when the sun has set, until the darkness of early evening passes, for the devils spread out when the sun sets, until the darkness of early evening passes."

Azami 14725

Sahih

عن جابر قال

قال رسول الله ﷺ: لا ترسلوا فواشيكم وصبيانكم، إذا غابت الشمس، حتى تذهب فحمة العشاء، فإن الشياطين تنبعث إذا غابت الشمس، حتى تذهب فحمة العشاء.

الأعظمي 14725صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of night and day
Section
Keeping children and livestock from going out after sunset
Numbering
Jami al-Kamil 14725 (2nd edition)
Azami 14725