Cardi B has responded to critics who said she should stay out of politics after a video of her berating Donald Trump over the US government shutdown went viral.

The New York rapper took to Instagram on Wednesday and criticised the president amid a partial government shutdown that has left 800,000 federal workers without paychecks. The shutdown is taking place as a result of a row over funding for Trump’s controversial wall along the US/Mexico border.

After commentators said Cardi B should stick to music, she shared a post with her almost 40 million followers and said: "Soo many people under my comments talking about I shouldn't talk politics, I don't know what I'm talking about, I'm dumb!

"Well I know a little something something..I know 800,000 federal government workers won't be getting paid till the shutdown is over and government assistants program are shutdown as well as in NO WELFARE, NO WIC, SECTION 8."

Along with a clip of her video being discussed on a US news programme, she added, "I know it's a little boring to watch the news" but "it won't kill ya" to follow the Instagram accounts of "people that talk about what's going on in our community".

In Cardi's original video she said: "I just wanna remind you that it's been a little bit over three weeks. Trump is now ordering federal government workers to go back to work without getting paid." 

The music star continued by acknowledging that Barack Obama shut down the government for 17 days, but for good reason: "Yeah b****, for healthcare, so you grandma could check her blood pressure."

She added: "I know a lot of y'all don't care because you don't work for the government, or y'all probably don't even have a job, but this shit is really f****** serious, bro," she said. "This s*** is crazy. Our country is in a hellhole right now. All for a f****** wall."

"I feel like we need to take some action. I don't know what type of action, b****, because this is not what I do. But b**** I'm scared. This is crazy."

The government shutdown, now in its 28th day, is already the longest in US history. The impasse is costing the US economy billions of dollars.