The origin of Haleem lies in the popular Arabian dish known as Harees (also written as Jareesh). According to Shoaib Daniyal, writing in The Sunday Guardian, the first written recipe of Harees dates back to the 10th century, when Arab scribe Abu Muhammad al-Muzaffar ibn Sayyar compiled a cookbook of dishes popular with the "kings and caliphs and lords and leaders" of Baghdad. "The version described in his Kitab Al-Tabikh (Book of Recipes), the world’s oldest surviving Arabic cookbook, is strikingly similar to the one people in the Middle East eat to this day" it reported.