Twin wall flue system design, stove from back wall
Stove manufacturers will generally show recommended distances in the manual. If they do not then we recommend that the distance from the back of the stove to a non-combustible wall has to be at least 50mm, ideally more like 100-150mm to allow for air circulation.
If the wall is combustible then the manual should detail different distances.