An Israeli social worker comforted two terrified kids for 12 grueling hours on Oct. 7 as they hid from Hamas terrorists in a tiny closet — inches from their mother’s corpse.

Photojournalist father-of-three Roy Mor Edan, 43, left the family’s home in Kfar Aza around 6:30 am and snapped photos of Hamas paragliders.

Unbeknownst to him, terrorists had entered his home and shot and killed his wife Smadar, 40, in front of their three children.

Savage Hamas terrorists murdered Roy Mor Edan and his wife Smadar in front of their three children October 7. NBC News

Michael and Amelia hid on the shelves of a cramped narrow closet for 12 hours.

Mor Edan’s son Michael, 9, phoned his father for help and the father rushed home, picked up his youngest Abigail in his arms and fled with the other two kids in tow.

Hamas was lying in wait outside. They fatally shot Mor Edan, and took Abigail, 4, hostage.

Michael and Amelia, 6, scrambled back inside to their bedroom, where their mother’s dead body lay, and hid in the closet.

Hundreds of terrorists had flooded the kibbutz and police were too overwhelmed to rescue the kids. Volunteer ambulance service United Hatzalah got involved when their distressed aunt posted on Facebook begging for someone to please save her niece and nephew.

Dr. Tamar Shlezinger, a PHD social worker and volunteer who works with United Hatzalah’s psycho-trauma response unit Hosen — Hebrew for resilience — contacted the kids at 9:30 am.

Abigail Mor Edan was taken hostage. Courtesy of family

“I’m afraid, please come save us!” Little Amelia begged in the heart-wrenching audio, provided to The Post by the heroic volunteer group.

“My daddy and mommy are dead because they shot them,” the 6-year-old says in the heartbreaking exchange.

Shlezinger assured the children that help was coming, and that she wouldn’t leave them.

“I didn’t realize it would be for 12 hours,” she recalled.

At 10 am Michael reported that people were knocking at the front door of their home and claiming to be IDF soldiers there to rescue them.

“Don’t open the door. Don’t open the door.” Slhezinger warned.

“All my body knew that this was terrorists,” she later recalled.

United Hatzalah volunteer Dr. Tamar Shezinger stayed on the phone with the children for 12 hours. Courtesy of Dr Tamar Shezinger

Abigail was later returned in November, Michael had to run out of the closet to retrieve a phone charger. NBC News

At 11:15 am Shlezinger needed Michael to retrieve a phone charger from another room so they could keep talking. But that would mean Michael needed to walk past his mother’s body, and risk being spotted by Hamas outside.

The boy bravely accepted the mission. As Shlezinger waited for Michael to return she panicked as she heard what she thought were terrorists inside.

“Oh no … I can hear… there are words being spoken,” said Shlezinger.

“I brought it,” Michael finally replied after several heart-pounding moments.

“Michael, there isn’t a boy who’s a bigger hero than you, you are a real champion,” Shlezinger told him.

Zoli and Linor Mor, seen here in the Oval Office, adopted the three kids. Courtesy of Zoli and Linor Mor

At 1:24 pm Hamas kicked through the front door and entered the home, but the terrorists never bothered to check the closet.

“Their mother is still taking care of them,” Shlezinger said of the miracle.

At 8 pm Shlezinger was given information that would be key to rescuing the kids — their mother was an agent with Shin Bet, Israel’s FBI. She informed the agency that Smadar was dead, and her children were in grave danger.

Finally, at 9:50 pm, Shlezinger gave the children permission to answer the door.

Zoli and Linor added three more elephant tattoos to their arms to signify the three new children they adopted. Courtesy of Zoli and Linor Mor

Liz Hirsh Naftali, the great aunt of Abigail Mor Edan, (shown in photo) the 4-year-old American held hostage in Gaza by Hamas and later freed, and her daughter Noa Naftali, right, during a House Subcommittee meeting. Jack Gruber, Jack Gruber / USA TODAY NETWORK

“Michael this is a soldier, this is a friend of mother,” she told him.

Shlezinger knew she “had to put emotions very far away and not feel anything” in order to effectively help the children.

“When the army rescued them, it was my time to cry.”

Abigail was released in November.

The children’s uncle Zoli Mor 52, says he and his wife Liron, 45, have adopted the three kids, who are slowly but surely recovering from the trauma they endured.

“We are more than grateful to Dr. Shlezinger for what she did that day,” he said. “Words can’t describe how thankful we are.”