Diane Abbott, the new shadow home secretary, took a donation from a charity group alleged to have links with extremist groups.