How to prove the following identity?
Let $r = (r_1, r_2, \ldots, r_d)$ and $c = (c_1, c_2, \ldots, c_d)$ be sequences of natural numbers such that $s = r_1 + r_2 + \cdots + r_d = c_1 + c_2 + \ldots + c_d$.
Denote by $\mathcal{M}(r,c)$ the set of matrices whose rows sums and column sums are $r$ and $c$ respectively.
Then $$ \sum_{M = (m_{i,j}) \in \mathcal{M}(r,c)} \prod_{i,j} \frac{1}{m_{i,j}!} = \frac{s!}{(\prod_{i=1}^d r_i!) (\prod_{j=1}^d c_j!)}. $$
I remember that once I saw this identity, but I could not find the source now.