The US president made a “troubling” promise to a foreign leader, an intelligence official alleged.