the Asus Prime B350M-a Motherboard can handle ram according to the cpu loaded on it, mounted with a Ryzen 5 1500x
the specification page state :AMD Ryzen™ Processors :4 x DIMM, Max. 64GB, DDR4 3200(O.C.)/2933(O.C.)/2666/2400/2133 MHz Non-ECC, Un-buffered Memory (ref: https://www.asus.com/us/Motherboards/PRIME-B350M-A/specifications/)
the HyperX HX426C16FB2/8 specification state HX426C16FB2/8 8GB 1G x 64-Bit DDR4-2666 CL16 288-Pin DIMM (ref: https://www.kingston.com/dataSheets/HX426C16FB2_8.pdf)
So the answer is YES the ram will work on that motherboard.
But remember 2666 is the faster speed (overclocked from 2133) the memory can handle,
if you want 3000-3200 I would suggest a different ramstick for your motherboard,
as Ryzen is well known it prefer 3000-3200 speeds over 2666.