Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) said: There is no harm in the person in ihram eating khabis (a sweet made of dates and ghee) and yellow-coloured khushkananaj (a sweet pastry).
Layth bin Abi Sulaym is not strong.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 9111