  We prove a summation formula for pairs of quadratic spaces following the
conjectures of Braverman-Kazhdan, Lafforgue, Ng\^{o} and Sakellaridis. We also
give an expression of the local factors where all the data are unramified.
