A malnourished mother orang-utan and her youngster were found distressed and clinging to one another in Borneo as locals hurled rocks at them and tried to tie them up.
The two apes were saved by charity International Animal Rescue, who anaesthatised the mother and removed rope from her wrists.
Many orang-utans have been moving near villages to find food, but locals view them as pests and there has been an increase in human-animal conflict.
"It was very fortunate our rescue team got there in time, otherwise the orang-utans would have been killed," Karmele Llano Sanchez, the group's programme director, told AFP.
"The mother was quite skinny because she had not been eating for at least a month since the fires started."