Gerry Adams ø@GerryAdamsSF 15m15 minutes ago With Jeremy Corbyn & the comrades @ Portcullis House, Westminster. Martin McGuinness

Jeremy Corbyn, the hard-line Labour MP and likely favourite for the party leadership, has been pictured sitting in Parliament alongside Gerry Adams and Martin McGuinness, the Sinn Fein leaders.

Mr Corbyn is pictured having a coffee with Mr Adams, who in the past has expressed support for the IRA, and Mr McGuinness, a former IRA commander, in the atrium of Portcullis House in Westminster, where MPs have offices.

The photograph was tweeted by Mr Adams alongside the caption “with Jeremy Corbyn and the comrades

One former Conservative minister said he found the photo “very offensive”.

Earlier Mr Adams and Mr McGuinness held talks with David Cameron, the Prime Minister, in 10 Downing Street.

Mr Corbyn caused outrage in the weeks after the Brighton bombing in 1984 by inviting Mr Adams and other membes of Sinn Fein to the Commons.

He also observed a minute’s silence in 1987 for eight IRA members killed by the SAS in an ambush in Gibraltar.