I’m not sure “easy to find with a search engine” is a good proxy for truthfulness. The NBC article is entirely based on what the IDF says, and NBC says they could not verify the claims. There isn’t any evidence that prisoners were in the hospital for military purposes, it seems entirely reasonable they were taken there to be treated, Hamas has every incentive to keep the prisoners in good health. Israel on the other hand has systematically destroyed all healthcare infrastructure in Gaza and has tried to make up any possible justifications for their crimes against humanity. Giving them any charity or credibility here is just foolishness.