First thing please be very specific in answering questions, there are a lot of nuances to UW photography and knowing exactly which model lens you are talking about and which port and housing is important to give the right answer.
Your 40mm will seem incredibly magnified compared to a 15mm fisheye shot(assuming it's your your current lens) . The dome port does not magnify when at the right position with respect to the lens, it will change somewhat if not setup in the dome correctly, but I don't think it will jump out at you. Judging distance and actual size of the subject underwater is an issue as well.
I'm assuming your 40mm prime is the pancake lens - the AF on that lens may not be fantastic. 40mm on an APS-C is quite long for UW usage, if you put it in the same dome as your 15mm the positioning is sure to be out which will impact image quality on the edges. The min focus distance is 30cm which may struggle a little to focus on the virtual image formed by the dome - AND this depends specifically on which dome we are talking about - we are just guessing.
The usual process for picking a lens is to refer to a port chart, if you have an Ikelite SL-2 housing this is the port chart:
http://docs.ikelite.com/reference/port-chart-dlm-c-system.pdf
Pick a lens from the list that seems suitable for your needs and perhaps ask specifically for experience with that lens on another post.
Not every lens is suitable to use behind a dome even if it fits. The lens needs to focus quite close to focus on the virtual image which sits 3 dome radii away from the dome when focused on infinity, the lenses listed in the port chart are there because they are popular and work well underwater. Other lenses may work but we would need to know the specific model/version you are talking about and which specific dome you want to put it behind. They are mostly zooms because they are just way more convenient to use underwater.