Reverend Al Sharpton got a standing ovation when he took a jab at president Donald Trump during Aretha Franklin's funeral on Friday.

Sharpton used his few moments on stage to remind Trump he needs to show the late Franklin some respect after the president said in a statement following her death that she used to work for him 'on numerous occasions'.

'Trump said she used to work for me. No, she performed for you,' he said as the audience got to their feet and clapped.

'She worked for us. Aretha took orders from no one but God,' he added.

Reverend Al Sharpton took a swipe at president Trump during a speech at Aretha Franklin's funeral

'Trump said she used to work for me. No, she performed for you,' Sharpton said, telling the audience that Trump needs to respect the late Franklin

During a statement on August 16, shortly after news of Franklin's death, Trump recalled the times the icon worked for him, saying: 'I want to begin today by expressing my condolences to the family of a person I knew well. She worked for me on numerous occasions. She was terrific — Aretha Franklin — on her passing.'

His remarks were immediately slammed as tasteless and tone deaf.

Franklin died at the age of 76 at her Detroit home from pancreatic cancer

Sharpton went on to say that the legendary soul singer 'never was one to forget where she came from.' He continued: 'She was a black woman in a white man's world. She beared her cross. Now, it's time to crown the Queen'.

Family and friends gathered at the Greater Grace Temple in Detroit for Franklin's services on Friday. Celebrities like Tyler Perry, Jennifer Hudson, Ron Isley, Chaka Khan, Yolanda Adams, Marvin Sapp, Smokey Robinson, Jesse Jackson and LeBron James were all in attendance.

Omarosa Manigault Newman and Hillary and Bill Clinton were also at the service. Former president Barack Obama and wife Michelle Obama were not able to make it, but Barack sent a heartfelt letter, which was read by Sharpton.

'Michelle and I extend our heartfelt sympathies to all those who have gathered in Detroit, and we join you in remembering and celebrating the life of the Queen of Soul,' the letter began.

Sharpton received a standing ovation for his jab at the president. He's seated between Nation of Islam leader Louis Farrakhan (left) and Reverend Jesse Jackson (right)

Hillary Clinton was also pictured at Aretha Franklin's funeral in Detroit on Friday

Faith Hill performed during the Queen of Soul's funeral service on Friday at the Greater Grace Temple

Ariana Grande also performed during the funeral singing a rendition of Franklin's A Natural Woman

'From a young age, Aretha Franklin rocked the world of anyone who had the pleasure of hearing her voice. Whether bringing people together through a thrilling intersection of genres or advancing important causes through the power of song, Aretha's work reflected the very best of our American story – in all of its hope and heart, its boldness and its unmistakable beauty.

'In the example she set, both as an artist and a citizen, Aretha embodied those most revered virtues of forgiveness and reconciliation, while the music she made captured some of our deepest human desires: namely affection and respect. And through her own voice, Aretha lifted those of millions, empowering and inspiring the vulnerable, the downtrodden, and everyone who may have just needed a little love.'

Barack called Franklin 'one of a kind' and said he and his wife will keep Franklin's family in their thoughts.