Muhammad bin Ishaq bin Yasar says: The Messenger of Allah (peace and blessings be upon him) went on, and when he came out of a narrow pass called al-Safra', he came out of it to a sand dune called Sayr, a night's journey or more from Badr, and the Messenger of Allah (peace and blessings be upon him) divided the spoils among the Muslims on that dune.
Imam al-Shafi'i (may Allah have mercy on him) says: Those around Sayr, and its people, were polytheists. And al-Shafi'i said: The Messenger of Allah (peace and blessings be upon him) divided the properties of Banu al-Mustaliq and their captives at the very place where he had taken them as spoils, before moving away from it, and all around it was the land of polytheism; and most of what the Messenger of Allah (peace and blessings be upon him) and the commanders of his expeditions took as spoils, they divided in the lands of the people at war.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الفيء والغنيمة / 12757