The men sat in rows, handcuffed and blindfolded, unable to see the Israeli soldiers who stood watch over them from the other side of a mesh fence.

They were barred from talking more loudly than a murmur, and forbidden to stand or sleep except when authorized.

A few knelt in prayer. One was being inspected by a paramedic. Another was briefly allowed to remove his handcuffs to wash himself. The hundreds of other Gazan detainees sat in silence. They were all cut off from the outside world, prevented for weeks from contacting lawyers or relatives.

This was the scene one afternoon in late May at a military hangar inside Sde Teiman, an army base in southern Israel that has become synonymous with the detention of Gazan Palestinians. Most Gazans captured since the start of the war on Oct. 7 have been brought to the site for initial interrogation, according to the Israeli military.

The military, which has not previously granted access to the media, allowed The New York Times to briefly see part of the detention facility as well as to interview its commanders and other officials, on condition of preserving their anonymity.

Once an obscure barracks, Sde Teiman is now a makeshift interrogation site and a major focus of accusations that the Israeli military has mistreated detainees, including people later determined to have no ties to Hamas or other armed groups. In interviews, former detainees described beatings and other abuse in the facility.