It was co-written by Mendes with Ilsey Juber, Danny Parker and Teddy Geiger, with the latter handling the song's production with Jake Gosling.
[5] It features Mendes singing, switching between him drowning in a locked car in the ocean and him performing the song with instruments in a warehouse shot at TriBro Studios.
[6] The song which has over 1 million views on YouTube features a modern style a capella arrangement with rewritten lyrics to reflect his Islamic faith.
Mendes performed the song for the first time on The Tonight Show Starring Jimmy Fallon on September 22, 2016, backed by mallet drums, electric guitar, bass and piano.
Mendes performed the song live at the Juno Awards of 2017; this version was subsequently released as a digital download.