A little before Muhammad set out in the pursuit of the departing Meccan army, he sent three spies, all belonging to Banu Aslam, to track the departing Meccan army.
This happened a day before the Meccans arrived at Hamra al-Asad.