It can snow in the desert and especially in the Sahara Desert.
But snow in the Sahara Desert or any part of the Desert is very rare although it can and does happen.
Snow happens more often in Africa at very high elevations though and the Sahara Desert is a very hot and dry region and even rain very rarely makes it to the ground and when it does it comes in very small quantities.