Just days before Idris Elba and Sophie Gregoire Trudeau tested positive for coronavirus, the pair posed for a photo together at a charity event in London.

In a photo taken before the actor announced his diagnosis on Monday, the 47-year-old and the wife of Canadian Prime Minister Justin Trudeau, Sophie, are spotted smiling with a group of people at a WE Day Charity event, People magazine reported on Tuesday. The festivities were held at SSE Arena in Wembly, London, on Wednesday, March 4.

According to the outlet, the event aimed to raise awareness on how to tackle social issues by bringing people together to “change the world locally and globally.”

Sophie Grégoire Trudeau, 44, took to Instagram on March 5, where she shared the snap.

'FROZEN 2' ACTRESS RACHEL MATTHEWS TESTS POSITIVE FOR CORONAVIRUS, SHARES TIMELINE OF SYMPTOMS

BEST TOM HANKS MOVIES TO WATCH DURING SELF-ISOLATION

“My heart is full after spending time working with my own family and the WE family,” she wrote. “Our message in London: Show yourself love and offer that same love to the world.”

On Monday, Elba announced on Twitter he tested positive for coronavirus.

“This morning I tested positive for Covid 19,” he wrote. “I feel ok, I have no symptoms so far but have been isolated since I found out about my possible exposure. Stay home people and be pragmatic. I will keep you updated on how I’m doing. No panic.”

The “Luther” star also shared a two-minute video of himself and his wife, Sabrina. Elba said she hasn’t been tested for coronavirus (COVID-19) but she’s doing OK.

"I got tested because I realized I was exposed to someone who also tested positive," he explained. "I found out last Friday that they were tested positive. I quarantined myself and got a test immediately and got the results back today."

JAMES BOND STAR WITH CORONAVIRUS SAYS SHE WAS DENIED HOSPITAL BED

BRANDI GLANVILLE SAYS SHE’S OUT OF TOILET PAPER DURING CORONAVIRUS OUTBREAK: ‘STOP HOARDING’

Elba continued: "Look, this is serious. Now is the time to really think about social distancing, washing your hands. Beyond that, there are people out there who aren't showing symptoms and that can easily spread it. OK. So, now is a real time to be really vigilant about washing your hands and keeping your distance."

Elba went on to say that the couple, who tied the knot last April, has told their families and colleagues.

"Transparency is probably the best thing for this right now. If you're feeling ill or you feel like you should be tested or you've been exposed -- do something about it. It's really important," he said.

Elba added: "Look we've lived in a divided world right now. We can all feel it. It's been bulls--t, but now is the time for solidarity. Now is the time for thinking about each other. There are so many people whose lives have been affected, from those who have lost people they loved to people that don't even have it and have lost their livelihoods. This is real."

CORONAVIRUS HALTS PRODUCTION OF 'THE YOUNG AND THE RESTLESS,' 'THE BOLD AND THE BEAUTIFUL

Sabrina Dhowre and Idris Elba attend the world premiere of 'Cats' at Alice Tully Hall, Lincoln Center on Dec. 16, 2019, in New York City. (Photo by Taylor Hill/FilmMagic/Getty)

ROB REINER DEMANDS DONALD TRUMP BE REMOVED FROM OFFICE OVER CORONAVIRUS HANDLING

Elba also noted that he will keep his social media followers updated on how he's doing.

"Stay positive and don't freak out," he concluded.

On Friday, the Canadian prime minister’s office announced Sophie Grégoire Trudeau had tested positive for coronavirus. They shared she is feeling well and would remain in isolation.

“The Prime Minister is in good health with no symptoms. As a precautionary measure and following the advice of doctors, he will be in isolation for a planned period of 14 days,” the statement shared. Also on the advice of doctors, he will not be tested at this stage since he has no symptoms. For the same reason, doctors say there is no risk to those who have been in contact with him recently,” the statement said.

Trudeau also issued a statement thanking those who have reached out.

“Although I’m experiencing uncomfortable symptoms of the virus, I will be back on my feet soon,” she said. “Being in quarantine at home is nothing compared to other Canadian families who might be going through this and for those facing more serious health concerns.”

JARED LETO JUST LEARNED ABOUT THE CORONAVIRUS OUTBREAK AFTER BEING IN ISOLATION FOR 12 DAYS

Sophie Gregoire Trudeau, the wife of Canadian Prime Minister Justin Trudeau. (Photo by CHRIS WATTIE/AFP via Getty Images)

REALITY STAR SCHEANA SHAY APOLOGIZES AFTER RECEIVING BACKLASH OVER CORONAVIRUS TWEETS

Fox News' Mariah Haas and The Associated Press contributed to this report.