Section 41 of Indian Contract Act

Effect of accepting performance from third person.— When a promisee accepts performance of the promise from a third person, he cannot afterwards enforce it against the promisor.