If your mud work involved the application of a thin layer, then it would not be a big deal painting over wet mud. Thicker mud layers need to dry for at least 12 hours before painting or priming to prevent shrinking of the compounds as the mud cures. It is also advisable to use a sprayer bottle instead of using brushes and rollers as they could compromise the smoothness of the wet joint compound.