In the first serial of the fourth series, The Nightmare Man, Luke carries on an instant message conversation with Maria. She is shown in archival footage two serials later in Death of the Doctor as well as the final conclusion in The Man Who Never Was.
In the initial segment of the fourth series, The Nightmare Man, Luke communicates instantly with Maria. She is later shown in archival footage from episodes after Death of the Doctor and before The Man Who Never Was.