This question was asked about Oil Painting from Photo
How big do I need to order my portrait if it’s for 23 people?
24x36 or bigger is the minimum, but faces may not be that detailed due to lack of space to fit everyone into that size. 36x48 or bigger is recommended for more details.
Probably at least 36 by 48 for good detail.