Both answers above are incorrect. You need a 2 gang and not just any 2 gang, calculate volume as follows:
(3) 6 AWG conductors @ 5 cu in each = 15 cu in
(1) 10 AWG ground = 2.5 cu in
(1) NEMA 14-50R (2 straps, 2 conductors/strap) = 4 * 5 cu in = 20 cu in
(1) wire connector/clamp = 5 cu in
Total = 42.5 cu in
For background the number of straps is dictated by the receptacle device, 14-50R is a 2 strap device. Each strap counts as (2) conductors of the largest size present in the box (6AWG = 5 cu in). The cable connector, if located inside the box, which is assumed for old work installs, will count as another conductor of the largest size present (6 AWG = 5 cu in).
I have not found an 2g old work box that accommodates 42.5 cu in so use a new work box and drywall work will be required but luckily it will be hidden behind the stove so most can DIY that without a big ugly mud job visible.
Common misinformation I have seen is that you can clamp a 6/3 cable in any 3/4" knockout. This is not true, the Arlington NM842 can handle a 6/3 in a 3/4" KO so that's what I use. If using anything else check packaging and it should say the acceptable wire size. Every specialized range box I have seen with a built in clamp CANNOT handle a 6/3. The manufacturers intentionally do not list this on their packaging so I guess this is just a gap in the industry. I am still researching but damn this is a crapshoot if done to code.