‘I Don’t Know Prince Andrew,’ Trump Says. Photos Say Otherwise.

LONDON — President Trump denied on Tuesday that he knew Prince Andrew, the son of Queen Elizabeth II who has become entangled in sexual abuse accusations against the disgraced financier Jeffrey Epstein.

“I don’t know him, no,” the president told reporters gathered in London for the NATO summit.

But photographs show they have met several times over the past 20 years, and as recently as June when the prince, known formally as the Duke of York, hosted a breakfast meeting for Mr. Trump during his state visit to Britain. Those photos were posted on the prince’s Twitter account.

Mr. Trump also toured Westminster Abbey in London with the prince, and they were photographed laughing together.

Ms. Giuffre, who has also spoken publicly about being abused by Mr. Epstein, reiterated the accusations in a British television interview of her own on Monday. The prince has denied any wrongdoing in his interactions with Mr. Epstein, who was jailed for 13 months in 2008 on a charge of soliciting prostitution from a minor. The financier hanged himself in a Manhattan jail in August while awaiting trial on new sex-trafficking charges.

Mr. Trump has sometimes sought to distance himself from people whom it has become painful or perilous to discuss, including Matthew G. Whitaker, his rejected choice for attorney general; and Gordon D. Sondland, his ambassador to the European Union.

Mr. Trump also told reporters on Tuesday that he did not know anything about Jeremy Corbyn, the main rival of Prime Minister Boris Johnson in the upcoming election.

“Jeremy Corbyn?” Mr. Trump said. “Know nothing about him.”

But the president had given an opinion on Mr. Corbyn as recently as last month, on a London-based radio show.

“Corbyn would be so bad for your country, he’d be so bad, he’d take you in such a bad way,” Mr. Trump said. “He’d take you into such bad places.”