Section 41 of The Indian Contract Act, 1872 View Chapter 4

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.