The Bafour or Bafur may have inhabited present-day Mauritania and the Western Sahara before the arrival of Islamic peoples. Some sources say this is a loose term to encompass the pre-Sahadja peoples, who were "part Berber, part Negro, and part Semite." Others say they occupied these territories in the 15th century and, before the end of the 17th century, were assimilated by other tribes, including the Wolof, Berber, and Fula.
The Bafour may have been a settled people at the time of the Neolithic Era. According to their oral tradition, they lived in the Western Sahara and gradually migrated southward. Anthony Pazzanita refers to them as "a pastoral, pre-Berber people who migrated to the area during Neolithic times", possibly ancestors of the Imraguen.
Twentieth-century historians have suggested that they may have been inhabitants of this territory in western Africa before the Islamic period. French art historian Jean Laude wrote, "In the pre-Islamic period (before the ninth century), according to oral tradition, Mauritania was occupied by the Bafur, a population of mixed origin from whom the eastern Songhai, the central Gangara, and the western Serer are derived."
Historian James L.A. Webb writes,
"During the more humid period from c. 1450 or 1500 to c. 1600. the lands of the central and northern Gibla came to be settled once again, this time apparently by Bafur villagers. Bafur place-names and desert traditions about the Bafur survive, but little else. The ethnic identity of the Bafur apparently was transformed in the period before the late seventeenth century and absorbed into the ethnic categories of Wolof, Berber, and Fula, and thus remains somewhat mysterious."
According to Webb's study of oral traditions, from 1600 to 1850, in the pre-colonial period, there was a well-established commercial route between communities of the Senegambia reaching north to the Western Sahara and Mauritania. Over four centuries before that, Arabs mixed with Bafur and Berber Masufa in Wadan, in present-day Western Sahara. A group known as Idaw al-Hajj ("sons of pilgrims" in Hassaniya) gradually settled in trading areas of northwestern Senegal, from where they dominated the gum arabic trade, as well as shipment of grain from the Wolof region to the Bidan (white North Africans), and a slave trade of Wolof people to the Maghreb for horses for their military campaigns. As is common among trading peoples, over time intermarriage had taken place between the Idaw al-Hajj and Wolof peoples, and the northerners gradually became assimilated into the sub-Saharan African community, including the use of Wolof as their language.
- Mwalimu, Charles, The Golden Book: Philosophy of Law for Africa Creating the National State, p 952
- James L.A. Webb, "The Evolution of the Idaw al-Hajj Commercial Diaspora", Cahiers d'études africaines, 1995, Volume 35:Issue 138-139, pp. 455–475, accessed 4 November 2013
- Pazzanita, Anthony G (3rd revised edition 2008). Historical Dictionary of Mauritania. Scarecrow Press. p. 1. ISBN 978-0-8108-5596-0. Check date values in:
- Jensen, Erik, Western Sahara: Anatomy Of A Stalemate, pp 20–21
- Laude, Jean, The Arts of Black Africa, University of California Press, 1973 (translated by : Jean Decock), p 50, ISBN 0-520-02358-7 
- In French: Peul; in Fula: Fulɓe.
- Webb, James L.A. (1994). Desert Frontier: Ecological and Economic Change Along the Western Sahel, 1600–1850. University of Wisconsin Press. p. 28. ISBN 978-0-299-14334-3.
- Pazzanita, Anthony G (3rd revised edition 2008). Historical Dictionary of Mauritania. Scarecrow Press. p. 264. ISBN 978-0-8108-5596-0. Check date values in:
- Olson, James Stuart & Shadle, Robert, Historical Dictionary of European Imperialism, Greenwood Publishing Group (1991), p 399, ISBN 0-313-26257-8
- UNESCO General History of Africa, Vol. III, Abridged Edition: Africa from ... edited by M. El Fasi 
- Desert Frontier: Ecological And Economic Change Along The Western Sahel ... By James L.A., Jr. Webb 
- Ethnic Groups of Africa and the Middle East: An Encyclopedia By John A. Shoup