Legendary Swedish pop group Abba has stopped the far-right Danish People's Party (DPP) from using their "Mamma Mia" hit at meetings, the studio which holds the rights to the song said Friday.

"It came to our knowledge that the Danish People's Party had used in some way the song 'Mamma Mia', and Abba does not allow their music to be used in any political context at all," Olle Roennbaeck, the head of film and television at Universal Music publishing, told AFP.

"We told them to quit doing this immediately and the party came back and said they would not use the song" anymore, Roennbaeck said.

The party had replaced the lyrics of "Mamma Mia" with "Mamma Pia" in honour of party leader Pia Kjaersgaard.

Although the DPP had played the song at meetings inside the party's headquarters, and not publicly, the pop group protested because it was being used in a political context.

Roennbaeck said the party, which it contacted by email, immediately admitted wrongdoing and had apologized.

He added the studio would not be taking the matter any further.

Legendary Swedish quartet Abba soared to global fame in 1974 by winning the Eurovision song context with the catchy hit "Waterloo". It was introduced to New York's Rock and Roll Hall of Fame in March.