McDonald’s has apologised after a video went viral on social media appearing to show a security guard refusing to allow a Muslim woman to be served unless she remove her hijab.

The 19-year-old woman claimed the security guard at the fast food outlet in North London blocked her from making an order and told her to remove the hijab or leave.

The security guard can he heard on the video telling the shocked Muslim woman “it’s just a matter of taking it off” at the branch in Seven Sisters road on Thursday.

The woman explains that she wears it for religious reasons before another customer steps in and tells the employee he cannot stop her from entering the restaurant.

She is heard saying: “It’s not just a matter of taking it off. I wear it for religious reasons and I’m not ashamed of it. And I will stand in line and I will get the food that I want because this isn’t OK.

“I go to all the shops and any restaurant I want and in my hijab and I buy the food I want to buy and then I come here. And I literally live down this street from here.

“This is actually like a hate crime, this is a hate crime.”

The customer who stepped in to help then said: “You can’t stop her coming into here because she’s wearing a headscarf.”

The woman replied: “I’m sorry I just want to know who is implementing this policy because this is f****** ridiculous.”

She is accused of being rude and tells staff: “I’m not being rude I’m just so shocked right now. I’ve been living in the UK for 19 years now and this is the first time I’m faced with this kind of discrimination and I am shocked. I’m actually shocked.”

The woman eventually left the fast food outlet without making an order, telling staff: : “I don’t want anything any more.”

McDonald’s apologised in a message on social media and also released a statement.

A spokeswoman for the fast food giant said: “McDonald’s does not have a policy in place which restricts or prevents anyone wearing a hijab, or any other religious dress, from entering.

“We welcome customers of all faiths and would like to apologise to the customer as this situation should not have taken place.

“We are taking this matter extremely seriously and are addressing this with the individuals involved.”