Beyoncé Knowles is the perfect "role model" for US President Barack Obama's daughters.

The songstress and her husband Jay-Z hosted a fundraiser for the American leader's re-election campaign in New York City on Tuesday night.

The pair held the event at Jay-Z's 40/40 club, with Beyoncé taking to the stage to introduce Obama, revealing that they "believe in his vision".

The president - who has daughters Sasha, 11, and Malia, 14, with wife Michelle - returned the complimentary remarks when he took over on the microphone.

"To J and B, thank you so much for your friendship. Beyoncé could not be a better role model for my girls," he gushed, according to US Weekly.

Obama also joked to Jay-Z about their family situations. The rapper and Beyoncé welcomed daughter Blue Ivy into the world earlier this year, and the president made a quip about their common ground.

"We both have daughters and our wives are more popular than we are. So, you know, we've got a little bond there. It's hard but it's OK," he joked.

The two couples have always been strong supporters of each other. Beyoncé wrote an open letter to the US First Lady in April, praising her for being a fantastic role model.

The singer repeated the kind words in a video tribute in July, saying she is “the ultimate example of a truly strong African American woman."