Let $A$ be a $m\times n$ matrix and $B$ be a $n\times l$ matrix. For $1 \le i_1 < i_2 < \cdots < i_k \le m$ and $1 \le j_1 < j_2 < \cdots < j_k \le n$, is there a formula to compute the determinant of the $k\times k$ minor matrix $(AB)_{i_1, i_2, \ldots, i_k, j_1, j_2, \ldots, j_k}$ in the product $AB$?
I couldn't find such a formula in linear algebra textbooks and wonder if there is anything from the literature.
From wikipedia, by Cauchy–Binet formula,
$$\det(AB)_{I,J} = \sum_{K} \det({A})_{I,K} \det(B)_{K,J}$$