EXTRA · Parshas Vaeschanan · Passuk 6:25
And it will be righteousness for us, if we are careful to do all this commandment before Hashem our God, as He has commanded us.
Tzedakah as the fruit of careful performance of the mitzvah; classical readings of “tzedakah tihyeh lanu” as merit / right standing before Hashem.
English: “And it will be righteousness for us” — merit from careful observance.
Merit arising from observance.
The answer to the son’s question (6:20) closes with the claim that careful performance of the commandment is itself tzedakah for Israel — right standing earned by doing what was commanded.