You can use a higher voltage capacitor without any problem, but you cannot adapt one of greater or lesser microfarads (uF)
If I explain why a very large text will be made, but I leave this video that explains with components a little smaller but the same reason applies:
Explanation of why not use a capacitor from different farads.
https://www.youtube.com/watch?v=WxyIsM63HYY
Ing Rivas.