Star Trek: The Next Generation Season 3 Episode 14
A Matter of Perspective
Stardate: 43610.4. Riker is accused of murder when a scientist is killed in an explosion. Picard must recreate the recent events in the holodeck to prove his commander’s innocence.