Prince Charles met worshippers who were injured when a van was driven at people in Finsbury Park earlier this week.
The 68-year-old royal met with those affected by the incident near the Muslim Welfare House in Seven Sisters Road and passed on Queen Elizabeth's well wishes.
He said: "I did particularly want to bring a message from the Queen on this particular occasion. She has specifically asked me to tell you how shocked she was by what happened, particularly as the victims were worshippers who had been attending Ramadan prayers - and her Majesty's thoughts and prayers are with you all.
"And if I may say so, I can only but join my particular thoughts and prayers to her Majesty's on this occasion, and to say that for many years I have taken a great interest in the Muslim community in this country."
And Prince Charles also met with the imam, Mohammed Mahmoud, who protected the van driver - named as Darren Osborne - from harm whilst they waited for police to arrive.
Charles told him: "[I was] deeply impressed ... Thank goodness we have wonderful leaders."
It comes after Prince Charles and Duchess Camilla visited the Royal London Hospital, where they met medical and support staff who were involved in looking after patients admitted there following a terror attack in London Bridge earlier this month.
The Duchess said the patients were "in very, very, very good hands - the best possible hands they could be in".
Whilst Charles told the doctors, nurses and staff: "I have so much admiration for all you are doing. It's a fantastic team."
Tagged in Prince Charles Queen Elizabeth