TABARANI 7397:
from Baʿathanī Rasūl Allāh —
[Machine] The Messenger of Allah, may ﷺ , sent me on a military expedition and said, "Attack in the name of Allah, in the cause of Allah. Do not exceed the limits, do not betray, do not kill a child, and for the traveler, allow him three days and nights, and for the resident, one day and night to wipe over their sandals."
الطبراني ٧٣٩٧:
عن بعثني رسول الاه —
بَعَثَنِي رَسُولُ اللهِ ﷺ فِي سَرِيَّةٍ فَقَالَ «اغْزُوا بِسْمِ اللهِ فِي سَبِيلِ اللهِ لَا تَغْلُوا وَلَا تَغْدِرُوا وَلَا تَقْتُلُوا وَلِيدًا وَلِلْمُسَافِرِ ثَلَاثَةُ أَيَّامٍ وَلَيَالِيهِنَّ وَلِلْمُقِيمِ يَوْمٌ وَلَيْلَةٌ يَمْسَحُ عَلَى الْخُفَّيْنِ»
hadithunlocked.com