This question already has an answer here:
I am an Indian citizen with valid German student long term resident visa. Can I travel to India and come back through Paris airport? Is there a chance of being denied to board? Prices are cheaper from Paris than from a german airport.
Edit: Sorry that my English is not clear. Yes, I meant I plan to travel to Paris by train and take Paris-Mumbai flight and return to Paris via Mumbai-Paris return flight and come back to Germany via train.