The repot says that, the fire at the Tahfiz Darul Quran Ittifaqiyah broke out in the early hours of today’s morning.
The victims are thought to been trapped in their dormitory as the windows were barred with metal grilles.
Khirudin Drahman, director of the fire and rescue department, told AFP that the fire, is one of the country’s worst fire disasters in the past 20 years
Initial counts put the death toll at 25, but police later revised that down by one.
Police said the dead were 22 students – all boys between the age of 13 and 17 – and two staff members.
Ten people were taken to hospital, and four are thought to have serious injuries.
The blaze was reported at around 05:40 local time on Thursday morning (21:40 GMT Wednesday). According to the police it began in the sleeping quarters.
In Islamic tahfiz schools – where children study the Koran – students often live at the school.
Repot said police were still investigating what caused the fire but that it likely was caused by short circuit or a lit mosquito repellent coil.