I believe you are refering to the Caravan raids which were done by people of the islamic faith.
In total there were 11 total raids
the purpose of these raids was to plunder these people of all there riches
they were believed to have been told by Allah(the higher power of the Islamic faith) to go forth and plunder these people of there riches