This rule, that labor and materials furnished for a person at his request are to be paid , for, prevails unless there is something in the circumstances or in the relations of the parties to rebut the ordinary presumption, as when the parties are husband and wife, or parent and child, living together in the same family, or when there is something else to indicate that the service is gratuitous. In a case like the present, when the understanding and agreement is that payment shall be made, it would be absurd to say that nothing should be paid because of a failure, through a misunderstanding, fully to agree.
The principle has often been applied when the ground for an implication of an agreement to pay was much less strong than in the present case. In Butterfield v. Byron, 153 Mass. 517, where the owner was to do a part of the work in the erection of a building, and a contractor was to do the rest under an express contract for an agreed price, it was held that, when the building was destroyed by lightning, so that the contract became impossible of performance, the contractor might recover, on a quantum meruit the fair value of the labor and materials that he had furnished. This was on the ground that, when the contract came to an end without the fault of either party, there was an implication that what was furnished was to be paid for, and if it could not be paid for under the contract it should be paid for on a quantum meruit. The same thing had been held previously in Cleary v. Sohier, 120 Mass. 210. As was pointed out in Butterfield v. Byron, page 524, the rule is analogous in principle to the right to recover on a quantum meruit for that which has been paid or furnished under an express contract, when there is a failure of the consideration. In the present case the labor and materials were furnished for a consideration supposed by both parties to exist in the form of an agreement by the defendant to pay a stipulated sum. Through the mistake of both parties there was no agreement, and that which was thought to be a valuable consideration failed. What was furnished to the defendant, in accordance with an agreement of both parties on the faith of this supposed consideration, must be paid for when the supposed consideration fails. The principle was applied and restated in Angus v. Scully, 176 Mass. 357. The rule was said to be “ that where one is to make repairs or do any