Neither. Without the chicken, there would be no egg. Without the egg, there would be no chicken. Because of that interdependance between them, they are one and the same.
I believe it was the chicken. Just like God created Adam and Eve as I assume adults and not babies. After creation He commanded all living creatures to multiply. So then eggs would have come later. Just a hunch. We may never know.