Upvote:1
For this to work, your friend needs the "visa extension" to be approved and the appropriate document to be issued (whether a passport sticker or residence permit card) before travel. If your friend has to leave before receiving the document, it will be necessary to get a new visa from a Spanish consulate in India before returning to Spain.