When matter was encased into one mass right before the big bang do we know what particles of matter existed then that retained their current form up until today, if any did? For example did quarks exist before the big bang and were able to maintain their composition as quarks, throughout the explosion even up till now.
We don't know for sure what happened before 10
-32 seconds after the Big Bang (there are a number of competing hypotheses, none of which holds a consensus amongst cosmologists); and it is probably meaningless to even consider times earlier than the Planck Epoch, which is 10
-34 seconds after the Big Bang - certainly it is meaningless using the framework of current physics or cosmology. We know that quarks and gluons existed at about 10
-32 seconds; but before that is a mystery.
It is meaningless to talk about 'before' the Big Bang; there is no basis at all for your assumption that "matter was encased into one mass right before the big bang", or to make any other assumptions about it. There may have been no matter, no energy, no space, and no time. Or there may have been any or all of these things.
Time might or might not start at the Big Bang; we don't know. If it did, then asking about 'just before the big bang' is meaningless; if not, then we can say with certainty that current theories cannot tell us anything at all about what was happening.
The answer to your question is 'Nobody knows'.