He discovered the massive python on the riverbank while leading tourists through a waterway on Borneo Island, New York Post reported.
A video footage that recently went viral on social media shows him sitting at the edge of the boat and reaching into the water to grasp the snake's head.
Suddenly the python pulled him into the water, causing him to fall overboard.
After resurfacing he thrashed desperately, but the snake quickly coiled around his torso, constricting his arms and neck.
Fellow tourists immediately jumped in to help and eventually freed him by seizing the snake’s head and tail, Daily Mail reported.
He sustained no serious injuries.
The group later lifted the python onto the boat, took photographs, and released it back into the wild.
Mohammad Alisa, who filmed the incident, stated, "It was the largest and strongest snake we’ve ever seen."
A few months earlier, an 8.5-meter-long python reportedly swallowed a man alive in Indonesia.
Borneo Island is home to various python species, including the short-tailed python and reticulated python.
These non-venomous snakes inhabit wetlands, forests, and riverbanks, hunting by constricting prey. They occasionally venture into human settlements in search of food.