The correct answer is Anandmath, written by Bankim Chandra Chattopadhyay.
The song Vande Mataram appears in this Bengali novel, first published in 1882. It was later adopted as the National Song of India and was first sung in its political form at the 1896 session of the Indian National Congress.
Vande Mataram played a big part in the freedom movement and was a rallying cry for many revolutionaries.