Meghan Markle and Prince Harry paid a surprise tribute to the victims of the New Zealand shooting.

Markle, 37, and Harry, 34, visited New Zealand House in London on Tuesday.

The pair laid down flowers at a makeshift memorial for the Christchurch mosque massacre victims, and the couple signed the condolences book.

“Our deepest condolences ... We are with you,” Meghan wrote.

MADONNA, CHRIS ROCK, AMY SCHUMER, MORE STARS DONATE TO NEW ZEALAND SHOOTING VICTIMS

Harry signed his name with “Arohanui,” which translates to “best wishes” in Maori.

People reports that Markle wore special earrings given to her by the New Zealand Prime Minister Jacinda Ardern.

Britain's Meghan Duchess of Sussex signs the book of condolence, with Prince Harry, during a visit to the New Zealand High Commission in London, Tuesday March 19, 2019.  The royal couple visited New Zealand Commission following the Mosque terrorist shootings last week. (Ian Vogler/pool via AP)

Britain's Meghan Duchess of Sussex signs the book of condolence, with Prince Harry, during a visit to the New Zealand High Commission in London, Tuesday March 19, 2019. The royal couple visited New Zealand Commission following the Mosque terrorist shootings last week. (Ian Vogler/pool via AP) (AP)

Before their visit, Kensington Palace released a statement about the shooting, which left 50 dead and countless others injured, on the behalf of the Duke and Duchess of Sussex, as well as Kate Middleton and Prince William.

JOHN LEGEND SAYS DONALD TRUMP NEEDS TO APOLOGIZE FOR 'DEMONIZING MUSLIMS' AFTER NEW ZEALAND MASSACRE

“Our hearts go out to the families and friends of the people who lost their lives in the devastating attack in Christchurch. We have all been fortunate to spend time in Christchurch and have felt the warm, open-hearted and generous spirit that is core to its remarkable people. No person should ever have to fear attending a sacred place of worship," the statement read.

NEW ZEALAND HOSTS FIRST FUNERALS FOR SHOOTING VICTIMS

LONDON, ENGLAND - MARCH 19: Meghan, Duchess of Sussex and Prince Harry, Duke of Sussex sign a book of condolence on behalf of The Royal Family at New Zealand House on March 19, 2019 in London, England. The visit was following the recent terror attack which saw at least 50 people killed at a Mosque in Christchurch. (Photo by Ian Vogler -WPA Pool/Getty Images)

Meghan, Duchess of Sussex and Prince Harry, Duke of Sussex sign a book of condolence on behalf of The Royal Family at New Zealand House on March 19, 2019 in London, England. The visit was following the recent terror attack which saw at least 50 people killed at a Mosque in Christchurch. (Getty)

'XENA' STAR LUCY LAWLESS, A NEW ZEALAND NATIVE, SPEAKS OUT AFTER MASS SHOOTING

"This senseless attack is an affront to the people of Christchurch and New Zealand, and the broader Muslim community. It is a horrifying assault on a way of life that embodies decency, community, and friendship. We know that from this devastation and deep mourning, the people of New Zealand will unite to show that such evil can never defeat compassion and tolerance," the statement continued. "We send our thoughts and prayers to everyone in New Zealand today. Kia Kaha."

Both couples spent time in Christchurch.

CLICK HERE TO GET THE FOX NEWS APP

Markle and Harry visited in October 2018, while Middleton and William last toured the city in 2014.