What is the ruling if a man gets sexually stimulated through no action on his own (he did not touch any body part, but he may have unintentionally come across an image that aroused him) and discharges mani?

Find answers

This would have the same ruling as a wet dream; it would not invalidate his fast, but he needs to perform ghusl.

Previous What is the ruling if a fasting person needed to soften their miswak with water before using it and some of the water got mixed with the saliva and was swallowed?
Next What is the ruling if a man wakes up after fajr time and finds out he had a wet dream or who unintentionally has a wet dream during the day in Ramadan?