"The Sweet By-and-By" is a Christian hymn with lyrics by S. Fillmore Bennett and music by Joseph P. Webster. It is recognizable by its chorus:

Answer this question based on the passage: who wrote the song in the sweet by and by? OK. Let's think. My stream of consciousness:
To answer the above question, the relevant sentence is: "The Sweet By-and-By" is a Christian hymn with lyrics by S. Fillmore Bennett and music by Joseph P. Webster. The answer is lyrics by S. Fillmore Bennett and music by Joseph P. Webster.