Following a corrected version of lab bhattacharjee's hint . . .
Let $p$ be an arbitrary prime, and let $A,B,C,D$ be the highest powers of $p$ which divide $a,b,c,d$, respectively.
The highest power of $p$ which divides $ab$ is $A+B$, and the highest power of $p$ which divides $cd$ is $C+D$, hence, since $ab=cd$, we have
$$A + B = C + D$$
The highest power of $p$ which divides the gcd of a set of one or more positive integers is the least of the highest powers of $p$ dividing the
members of the set, hence the highest powers of $p$ for
$$\gcd(a,c)\gcd(a,d)$$
$$\text{and}$$
$$a\gcd(a,b,c,d)$$
will be equal if and only if
$$\min(A,C)+\min(A,D) = A+\min(A,B,C,D)$$
Consider $4$ cases . . .
Case $(1)$: $\min(A,B,C,D) = A$.
\begin{align*}
\text{Then}\;\;&\min(A,C)=A\\[4pt]
&\min(A,D)=A\\[4pt]
&\min(A,B,C,D)=A\\[4pt]
\end{align*}
hence
$$\min(A,C)+\min(A,D) = A + A = A+\min(A,B,C,D)$$
as required.
Case $(2)$: $\min(A,B,C,D) = B$.
Then $A+B=C+D \implies \max(A,B,C,D) = A$,
\begin{align*}
\text{so}\;\;&\min(A,C)=C\\[4pt]
&\min(A,D)=D\\[4pt]
&\min(A,B,C,D)=B\\[4pt]
\end{align*}
hence
$$\min(A,C)+\min(A,D) = C+D = A + B = A+\min(A,B,C,D)$$
as required.
Case $(3)$: $\min(A,B,C,D) = C$.
Then $A+B=C+D \implies \max(A,B,C,D) = D$,
\begin{align*}
\text{so}\;\;&\min(A,C)=C\\[4pt]
&\min(A,D)=A\\[4pt]
&\min(A,B,C,D)=C\\[4pt]
\end{align*}
hence
$$\min(A,C)+\min(A,D) = C+A = A + C= A+\min(A,B,C,D)$$
as required.
Case $(4)$: $\min(A,B,C,D) = D$.
Then $A+B=C+D \implies \max(A,B,C,D) = C$,
\begin{align*}
\text{so}\;\;&\min(A,C)=A\\[4pt]
&\min(A,D)=D\\[4pt]
&\min(A,B,C,D)=D\\[4pt]
\end{align*}
hence
$$\min(A,C)+\min(A,D) = A + D = A+\min(A,B,C,D)$$
as required.
Thus, in all $4$ cases, we have
$$\min(A,C)+\min(A,D) = A+\min(A,B,C,D)$$
Since for all primes $p$, the highest power of $p$ which divides
$$\gcd(a,c)\gcd(a,d)$$
is the same as the highest power of $p$ which divides
$$a\gcd(a,b,c,d)$$
it follows that
$$\gcd(a,c)\gcd(a,d) = a\gcd(a,b,c,d)$$
as was to be shown.