It's a common misconception that a specific religion invented coffee. Coffee's origins are rooted in Ethiopia, where it was first discovered by a goat herder named Kaldi. He noticed his goats were energized after eating berries from a specific tree.
The story of Kaldi is a legend, but it highlights the origin of coffee in Ethiopia. Coffee was initially used for medicinal purposes and later adopted as a social beverage. It spread throughout the Middle East and eventually to Europe, becoming a staple in many cultures.
While coffee is associated with certain cultures and religious practices, its invention cannot be attributed to any single religion.