Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates from Sayyiduna Abu Talhah (may Allah be pleased with him) that whenever the Messenger of Allah (peace and blessings be upon him) overcame a people, he liked to stay in their territory for three days or three nights.
Hadith Referenceالمعجم الكبير للطبراني / باب الزاي / 4685