Yes there is. However it is a totally individual thing. I've found that a small amount of cardio helps me in the gym because I don't get as short of breath when I lift what is heavy to me.
If I do too much cardio then muscle growth seems to be really slow. Something about the different types of muscle fibers,
endurance training vs
strength training, and which type will be dominant.
Again, it's totally individual so try it out, if you aren't gaining - eat more. If you still aren't gaining - do less cardio. When you find the balance that gives you the best results ride it as far as it takes you. When it stops, re-evaluate.
Sorry, no perfect formula such as 15 minutes of HIIT with 45 minutes of lifting that works for everyone.