Rihanna has become the latest artist to send a cease-and-desist letter to Donald Trump to order him not to play her music at his rallies.

The US President played the popstar's 2007 single Don't Stop The Music at an event in Tennessee on Sunday.

The pop star, whose full name is Robyn Rihanna Fenty, became aware of the unauthorised use of her music when Washington Post reporter Philip Rucker tweeted about it.

She responded: "Not for much longer...me nor my people would ever be at or around one of those tragic rallies,  so thanks for the heads up philip!"

Her legal team has now sent an official letter to the White House, which states: "It has come to our attention that President Trump has utilised (Rihanna's) musical compositions and master recordings, including her hit track Don't Stop The Music, in connection with a number of political events held across the United States.

"Such use is therefore improper. Trump's unauthorised use of Ms Fenty's music creates a false impression that Ms Fenty is affiliated with, connected to or otherwise associated with Trump."

Ahead of Tuesday's midterm elections in the US, Rihanna endorsed Andrew Gillum, the Democratic candidate for the governor of Florida.

She wrote on Instagram: "You have the opportunity to make history this election. The US has only had four black Governors in its entire history, and we can help make #AndrewGillum the next one and Florida’s first!

"If you’re tired of feeling like you don’t matter in the political process, know the most important thing you can do in supporting a candidate is finding someone who will take on critical issues such as: making minimum wage a livable wage, paying teachers what their worth, ensuring criminal justice reform, making healthcare a right, and repealing Stand Your Ground."

Rihanna is the latest celebrity to object to Trump using their music. Neil Young and R.E.M. previously voiced outrage when their tracks Rockin' in the Free World and It's the End of the World As We Know It were used without their permission.

Aerosmith and Adele also ordered Trump to stop using their music at campaign events.