What is the scientific term for unexpected, spontaneous dream recall?
This could be an example of what is termed "involuntary memory" or "involuntary autobiographical memory".  Mainly it is due to subtle and obvious prompts.