The interview was filmed by Al Jazeera in the Hungarian border town of Szeged last week, and has now been shared thousands of times.
Masalmeh escaped the Syrian city of Deraa with his sister, the broadcaster reported. He told the channel that "the police don't like the Syrians in Serbia, in Hungary, in Macedonia, in Greece".
There are currently hundreds of migrants and refugees outside the closed Eastern Railway Station in Budapest. They have been there for two nights.
They are attempting to board trains out of the station to get to other European countries.
This morning they entered the station. CNN reported that trains are now running, but borders with Austria and Slovakia remain closed.
It appears that some refugees are now being pulled off the trains.
The Hungarian prime minister, Viktor Orban, has defended his country's approach to the situation, saying that his country has abided by all European Union rules.
Following discussions between Orban and EU president Martin Schulz, Schulz called for a unified European response to the situation.
Alan White is a news editor for BuzzFeed News and is based in London.
Contact Alan White at email@example.com.
Got a confidential tip? Submit it here.