Barclays Bank has been fined £40m for failing to disclose a fund raising deal with Qatari entities in 2008 at the height of the financial crisis in that year.