Two bodies A and B in space are attracting each other due to gravitational force. The force of attraction on B due to A is
According to newtons third law, every action has an equal and opposite reaction.
If A attracting B is the action, then B attracting A is the reaction. So, the force of attraction on B due to A is equal to the force of attraction due to A on B.