BERLIN — The German authorities are investigating a fire that destroyed a warehouse used as a refugee shelter in the western city of Düsseldorf this week. The fire broke out after a dispute over a decision to scale back the midday meal during the month of Ramadan, when many Muslims fast during the day.

The police say five male shelter residents are suspected of setting the fire, which broke out on Tuesday after the afternoon meal service was reduced in consideration for Muslim residents. All of the approximately 130 residents were able to escape the fire, but several suffered injuries related to smoke inhalation.

Residents have complained for months about conditions in the shelter, which used temporary walls to divide the separate living areas but did not afford migrants full privacy, Ralf Herrenbrück, a spokesman for prosecutors in Düsseldorf, said Friday. After the fire, most migrants were transferred to temporary shelters set up in public gymnasiums.