I would like to achieve the next result in tikz:

However, I am only able to draw the matrices without the mathematical operations between them i.e. the dot product and the equal signs (having the same height for the parenthesis is a plus). Below I am attaching part of my code and how far I have reached so far.
Any help would be much appreciated
Thanks
\documentclass[usenames,dvipsnames]{beamer}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{fit, calc, matrix, positioning, arrows.meta, intersections, through, backgrounds, patterns}
\usepackage{pgfplots}
\pgfplotsset{compat = newest}
\pgfplotsset{overwrite option/.style args={#1 with #2}{#1=#2,#1/.code=}}
\begin{frame}{MATRIX MULTIPLICATION}
More graphically:
\begin{tikzpicture}
\scriptsize
\matrix (m)[
matrix of math nodes,
nodes in empty cells,
%minimum width=width("998888"),
left delimiter=(,
right delimiter=)
] {
a_{11} && \cdots && a_{1k} && \cdots && a_{1n} \\
\vdots && && \vdots && &&\vdots \\
a_{i1} && \cdots && a_{ik} && \cdots && a_{in} \\
\vdots && && \vdots && && \vdots \\
a_{m1} && \cdots && a_{mk} && \cdots && a_{mn} \\
} ;
\draw (m-3-1.south west) rectangle (m-3-5.north east);
\begin{scope}[xshift=95pt]
\matrix (m)[
matrix of math nodes,
nodes in empty cells,
%minimum width=width("998888"),
left delimiter=(,
right delimiter=)
] {
b_{11} && \cdots && b_{1j} && \cdots && b_{1p} \\
\vdots && && \vdots && &&\vdots \\
b_{k1} && \cdots && b_{kj} && \cdots && b_{kp} \\
\vdots && && \vdots && && \vdots \\
b_{n1} && \cdots && b_{nj} && \cdots && b_{np} \\
} ;
\draw (m-5-3.south west) rectangle (m-1-3.north east);
\end{scope}
\begin{scope}[xshift=200pt]
\matrix (m)[
matrix of math nodes,
nodes in empty cells,
%minimum width=width("998888"),
left delimiter=(,
right delimiter=)
] {
c_{11} && \cdots && c_{1j} && \cdots && c_{1p} \\
\vdots && && \vdots && &&\vdots \\
c_{i1} && \cdots && c_{ij} && \cdots && c_{ip} \\
\vdots && && \vdots && && \vdots \\
c_{m1} && \cdots && c_{mj} && \cdots && c_{mp} \\
} ;
\draw (m-3-3.south west) rectangle (m-3-3.north east);
\end{scope}
\end{tikzpicture}
\end{frame}





beamerit wouldn't have worked perfectly, you need afragileframe to use a matrix, see my updated answer. – Torbjørn T. Aug 26 '20 at 18:26\matrixadd\node [right=of m] {$\cdot$};, right after the second add\node [right=of m2] {$=$};, and remove the\pathat the end. – Torbjørn T. Aug 10 '23 at 21:42