Hamas has repeatedly denied that they have committed any sexual violence or violence against civilians on October 7. E.g., according to Egyptian Mada Masr:
Although Israel’s social security agency has identified 1,139 dead on October 7, including 695 civilians, Hamas stressed its adherence to avoiding the targeting of civilians on that day in its document, especially women, children and the elderly, as part of a religious and moral commitment, and despite lacking precision weaponry. It pointed out that any such incidents were “unintentional, perhaps due to the full and rapid collapse of the Israeli security and military system during Operation al-Aqsa Flood, as well as the ensuing chaos due to extensive breaches in the barrier and separation system between the Gaza Strip and [Hamas’] operational areas.”
Specifically in regard to the rape allegations:
The movement vehemently denied allegations of Palestinian resistance fighters sexually assaulting Israeli women, stating that these claims have been proven false. They referred to a paper published by Mondoweiss on December 1, 2023, which thoroughly investigated and debunked all rape allegations.
Although multiple the pro-Hamas media deny these allegations - like the above cited Mondoweiss - there is growing consensus in the west that the sexual assaults did take place on a scale that may constitute a crime against humanity:
Guardian (Jan 18 2024): Evidence points to systematic use of rape and sexual violence by Hamas in 7 October attacks
On Monday, UN-appointed independent experts said that “given the number of victims and the extensive premeditation and planning of the attacks”, mounting evidence of rapes and genital mutilation pointed to possible crimes against humanity.
BBC (Dec 5, 2023): Israel Gaza: Hamas raped and mutilated women on 7 October, BBC hears
The civil commission headed by Dr Elkayam-Levy, to collect testimony on sexual crimes, is calling for international recognition that what happened on 7 October was systematic abuse, constituting Crimes Against Humanity.
Reuters (Jan 8, 2024): UN experts demand accountability for sexual torture during Hamas attacks:
GENEVA, Jan 8 (Reuters) - U.N. experts on Monday demanded accountability for sexual violence against Israeli civilians during the Oct. 7 Hamas attacks, saying that mounting evidence of rapes and genital mutilation point to possible crimes against humanity.