Haven't had that exact problem but being a previous note 7 owner/survivor I then bought the S7 edge as a replacement which as soon as i began using it would reboot once or twice per day. I took it back to the shop and they reflashed the software and then blamed me for installing third party apps and saying that these apps were probably misbehaving and causing problems.
The reboots stopped for a couple of weeks but two nights ago came back with a vengeance, freezing, heating up the phone then rebooting every 2 minutes or so and sometimes displaying a band of small coloured rectangles across the bottom half of the screen during the freezing element of the problem.
Samsung are now sending a courier tomorrow to pick it up so we'll see what happens now. The phone is almost 2 months old. As you can imagine, I wished I had bought another brand of phone after the Note 7 debacle of which I still own the £52 Samsung led flip wallet which Samsung told me that they wouldn't be refunding me for.