Here's what I can get fromSecond try. Victor points out that my original application of super-rigidity forwas faulty. This edit is to remove the false claim and leave only the lemma I believe. While I'm at it, I have added some stuff I don't understand.
Let $H$ and $G$ be algebraic groups of units of division algebras over $\mathbb Q$ (over otherbecause super-rigidity is of limited use over bigger fields, it buys rather less). It showsIf $f\colon H(\mathbb Q)\to G(\mathbb Q)$ is an isomorphism of abstract groups, then super-rigidity implies that for all the local factors are isomorphic$S$, $H(\mathbb Z[S^{-1}])$ and that the isomorphism approximately preserves$G(\mathbb Z[S^{-1}])$ contain finite index subgroups identified by $f$. One can't ask for more, since the $S$-integral points. The isomorphism of local factors gives examples of$H$ and $G$ are only well-defined up to finite index. These groups that are not isomorphicinsensitive to inclusion of the ramified places in $S$.
I think integral points shoulddon't know everything so that isomorphism requireshow much this buys us.
Perhaps one can use the congruence subgroup property to reconstruct the local points of the group? I believe that the CSP is conjectured but open for these groups are algebraically isomorphic(specifically, butthat there should be a finite congruence kernel, perhaps for large $S$). Worse, I'm not sure what it says, it particular whether it allows reconstruction of the compact factors. (If this does work, then the compact factors would be the profinite completion of the rational points and one would not need the first paragraph. Maybe this should have been a separate answer.)
OnceIf we knowcan reconstruct the compact local factors are isomorphic, we're lead tofrom the same question for local fields. The original question doesn't really motivate global fields($S$-)integral points, as opposed to general fields. Local fields should be easier! Boyarsky's comments on Victor's answer addresses the local case: continuous isomorphism must be algebraic; soand thus from the algebras are isomorphic or opposed;rational points, we can extractreconstruct the invariantlocal invariants, up to a sign (the local version of this question, addressed by Victor and Boyarsky). So if we haveThis would not be enough to show that the two unitsdiscrete groups over $\mathbb Q$ thatof rational points are isomorphic as algebraic groups, they havebut it would be enough to show that some examples of groups of rational points are not isomorphic local factors, so their. A division algebra with local invariants are equal, up$\frac15$ and $\frac45$ has non-isomorphic factors to one with local signs$\frac25$ and $\frac35$. Thus, allBut a division algebra with invariants $\frac 15$$(\frac 15,\frac 25,\frac 35,\frac 45)$ is not isomorphic or opposed to allone with invariants $\frac 25$$(\frac 45,\frac 25,\frac 35,\frac 25)$, even though this doesn't distinguish $(\frac 15,\frac 25,\frac 35,\frac 45)$ from $(\frac 45,\frac 25,\frac 35,\frac 25)$;locally it is always isomorphic or opposed. Thus, such a method could not distinguish $10$ at $\frac15$ from $5$ at $\frac15$ and $5$ at $\frac45$; or do anything for $p=3$their unit groups.
Proof of the claim in the first paragraph that isomorphism of rational points must preserve integral points: Super-rigidity says that maps of lattices extend to maps of their ambient locally compact groups. There's probably a version groupsIt requires that the $S$-rank of rational pointsthe source is least $2$, which are latticeswhere the $S$-rank is the sum over places in adelic groups, but I've never heard. That would immediately give$S$ of the local factorsranks. But I do know that there's a version forUnder Kevin's assumptions, we already have rank $2$ from the infinite place; in general we would need to use large $S$-integral groups to draw conclusions about small $S$. $H(\mathbb Q)$ is not finitely generated, but it is filtered by groups of $S$-integers, which are finitely generated. Thus an isomorphism $H(\mathbb Q)\cong G(\mathbb Q)$$f\colon H(\mathbb Q)\cong G(\mathbb Q)$ yields a homomorphism $H(\mathbb Z)\to G(\mathbb Z[S^{-1}])$, for some $S$. By super-rigidity, $H(\mathbb Z)$ contains a finite index subgroup on which this extends to a (continuous) homomorphism $H(\mathbb R)\to G(\mathbb R\times \mathbb Q_p\times\ldots)$, which has to land in $G(\mathbb R)$. And similarly back, so we get an isomorphism $H(\mathbb R)\cong G(\mathbb R)$ which is the given isomorphismrestricts to be $f$ on a finite index subgroup of $H(\mathbb Z)$. That is, $f$ preserves the integral points. Similarly, for each $S$, the $S$-integral points are, up to finite index, preserved by the given isomorphism and the local factors are isomorphic. (That proves some kind of adelic/$G(\mathbb Q)$ version of the theorem, but I'm not sure what the statement is. A weak statement is that an isomorphism of $\mathbb Q$-points implies an isomorphism of adelic groups.)