At least 40 Palestinians were killed or injured by Israeli attacks near a hospital in central Gaza, Hamas media office said on Wednesday.