The 22-year-old rapper is so popular — he recently held three sold-out concerts at Hungary’s largest stadium — that even Prime Minister Viktor Orban, a stodgy champion of traditional values not known for being in tune with youth or its culture, claims he is a fan.

Mr. Orban has said he particularly likes the song “Rampapapam,” a reggae-flavored ode to the joys of cannabis. It’s a surprising choice given the prime minister’s conservative views and one that raised questions about whether he has actually listened to it or just watched its video showing the musician playing soccer, the leader’s favorite sport.

But Attila Bauko, a Hungarian superstar better known as Azahriah, has won so many passionate fans in Hungary that Mr. Orban, who has had 14 years in power, appears to want some of the rapper’s energy and stardust.

“Since they see that a lot of people like me, it seems they want to be friendly,” Azahriah said in an interview backstage before a concert last month at the Puskas Arena, a sports stadium in Budapest, that attracted nearly 50,000 people for each of the three nights he performed.

Official favor “should be flattering,” Azahriah said, “but feels strange and uncomfortable” when so many of his young fans loathe the governing Fidesz party.