Prime Minister Scott Morrison removed a strange video from his social media accounts on Thursday night, just hours after being loaded.
Mr. Morrison posted an 11-second clip from the question-and-answer session showing coalition members raising their hands in unison, heading to the rap track Be faithful by Fatman Scoop.
The tweet seemed to be a happy joke, with the legend of Mr. Morrison stating that question time was "on fire".
The lyrics of the song made sense in context. "You have a hundred-dollar bill, raise your hands! You have a fifty-dollar bill, raise your hands!
Mr. Morrison deleted the tweet later on Thursday night, but not before the video was widely taunted on social media.
The original clip has resurfaced on dozens of Twitter accounts, showing that many have downloaded copies at the time they were live.
The prime minister tweeted an apology at 11.40 p.m., saying that the "full lyrics" of the song were "just not right".
"When I found out, I asked the team to take it down." Apologies, "he wrote.
Some of the lyrics of the song, but not those of the clip, contain sexual references.
Labor MPs joined the mockery online.
"Now I am fascinated by what happened in the prime minister's office during the five hours it took them to produce this video," said Tim Watts of Labor.
"Did someone throw this? Was there any meetings? Are other songs considered? Why?"