You can nest two tabulars inside a larger tabular, and put it in a figure environment if it has to be considered as such. Here is a way to do that, with the help of some packages.
To frame the whole figure, you can use a boxed minipage (width determined by trial and error) in the place of the figure environment, and use \captionof{figure}:
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{array, booktabs}
\usepackage[math]{cellspace}
\usepackage{boxedminipage}
\usepackage{caption}
\begin{document}
\centering\setlength{\fboxsep}{2em}
\fbox{\begin{minipage}{8.9cm}
\setlength{\cellspacetoplimit}{6pt}
\setlength{\cellspacebottomlimit}{6pt}
\centering
\begin{tabular}{@{}ccc@{}}
\begin{tabular}{|*{4}{>{$}Sl<{$}|}}
\hline at
*&-1 & -i & -j \\
\hline
-1 & 1 & i & j \\
\hline
-i & -1 & -1 & l \\
\hline
\addlinespace
\multicolumn{4}{c}{(G, * )}
\end{tabular} & \qquad &
\begin{tabular}{|*{4}{>{$}Sl<{$}|}@{}}
\hline
*& -1 & -i & -j \\
\hline
-1 & 1 & i & j \\
\hline
-i & -1 & -1 & l \\
\hline
\addlinespace
\multicolumn{4}{c}{(H, + )}
\end{tabular} \\[8ex]
\midrule
\multicolumn{3}{@{}l@{}}{\text{Some text}}\\
\midrule
\end{tabular}
\captionof{figure}{Text}
\end{minipage}}
\end{document}

\captionofcommand from thecaptionpackage helpful. After that, you can wrap the entire thing in atcolorboxormdframedenvironment. The horizontal rules above and below the text you can achieve with\ruleor\hrule. – steve Apr 29 '20 at 10:17