He lent me some money on the condition that I should return the same before November.
Before anyone marks it as possible duplicate of this question, I would like to add that that doesn't answers my question, that question talks about if it is colloquially acceptable to use the same, but I am not talking about colloquial usage, I am asking from strictly grammatical point of view. Moreover people over there have just given their 'opinions' but here I am sharing a excerpt from a renowned Author's dictionary.
My book (not written by native speaker but written after consulting 50+ native speakers work) says I need to replace the same with it because the same is always used as a adjective followed by a noun. He has cited the given below excerpt from H.W. Fowler's book.