Deputy Prime Minister Nick Clegg also paid tribute, saying: "Our thoughts are with the families and friends of the five service personnel who have so tragically lost their lives.
"This incident is a very sad reminder of the vital but dangerous job that our Armed Forces are doing every day to bring security to the people of Afghanistan.
"I would like to pay tribute to their service and to the ultimate sacrifice made by those who died yesterday."
More top news
In a series of tweets, the US president says transgender people will not allowed or accepted to serve their country 'in any capacity'.
The chancellor - having won the argument within Cabinet - has told ITV News he is targeting a swift start to talks on the interim deal.
Moving footage of eight-year-old Saffie Roussos has been released by her family as her funeral took place.