DEARBORN, Mich. (AP) -- McDonald's and one of its franchise owners agreed to pay $700,000 to members of the Muslim community to settle allegations a Detroit-area restaurant falsely advertised its food as being prepared according to Islamic dietary law.

McDonald's and Finley's Management Co. agreed Friday to pay $700,000. The money will be shared by Dearborn Heights resident Ahmed Ahmed, a Detroit health clinic, the Arab American National Museum in Dearborn and lawyers.

The lawsuit alleged that Ahmed bought a chicken sandwich in September 2011 at a Dearborn McDonald's but found it wasn't halal -- meaning it didn't meet Islamic requirements for preparing food. Islam forbids consumption of pork, and God's name must be invoked before an animal providing meat for consumption is slaughtered.