A crocodile is pictured in the water of its enclosure at the zoo at Abidjan, Ivory Coast, on Oct. 28. 2016. Reuters

A shocking video surfaced Wednesday showing a crocodile carrying the naked body of a dead man to the banks of a river in Indonesia. The man had gone missing while bathing at the river a day earlier

The 41-year-old man, identified only by his first name Syarifuddin, was attacked by the crocodile Tuesday evening, and people in the neighborhood were surprised to see the predator bringing the body back to the river banks, according to the Daily Mail. Witnesses reportedly said the crocodile pounced on the man and dragged him into the water of the Lempake River in Berau.

Read: Crocodile Killed In Tunisia After Zoo Visitors Stone Reptile To Death

Locals along with the police launched a search for Syarifuddin but failed to find him.

"He was just in the water and the crocodile humped at him and took him," the victim's friend Andi Resmin, who was present at the scene of the attack Tuesday, told Daily Mail.

Police chief Inspector Talisayan Faisal Hamid, who is investigating the incident, told Daily Mail: "The victim's friends reported to the officer he was attacked by a crocodile. That night we did a search."

The video purportedly shows the crocodile floating to the banks with the naked body of Syarifuddin in its jaws as the gathered crowd looks on. The predator left the body of the victim on the banks when locals shouted and threw stones at the reptile.

Police official Iptu Faisal Hamid said the victim died from the crocodile's attack, Asia One reported, citing local newspaper Siakap Keli. The officer also said Syarifuddin's body had several bite and scratch marks. While the man may have been killed due to the crocodile attack, the reptile did not eat him.

Disclaimer: Some viewers may find the video disturbing.

Crocodile attacks are common in swampy areas near river banks. The Indonesian archipelago is home to several species of crocodile. Only six of the 23 crocodilian species are considered dangerous to humans. The most common crocodile species which attacks humans are the Nile crocodile and saltwater crocodile.

In April 2016, a Russian tourist was mauled to death by a crocodile at a popular diving site in eastern Indonesia.

Read: Crocodiles Set Loose In Australian School, Reptiles May Be Euthanized

Here are some tips to avoid crocodile attacks.

1. Crocodile attacks often take place near the shore of a water body, and its best to avoid such areas. Choose to take bath in clear, shallow water, where it is difficult for a crocodile to launch a surprise attack.

2. Avoid swimming in places where crocodiles have been spotted.

3. Stay at a safe distance from the shore or a river bank.

4. Stay at least 15 feet away from alligators or crocodiles.