Police said three assailants on a motorcycle attacked Mr Samad and then shot him, The Dhaka Tribune reported.
Police have not named any suspects in the case nor confirmed a religious motive.
‘I have no religion’
Mr Samad, a student of Jagannath University, regularly wrote against religious extremism on his Facebook page.
He had written “I have no religion” on his profile under religious views.
There have been several deadly attacks in Bangladesh in recent months, although it is not clear who is behind them.
Last year, four prominent secular bloggers were killed with machetes, one inside his own home.
They all appeared on a list of 84 “atheist bloggers” drawn up by Islamic groups in 2013 and widely circulated.
There have also been attacks on members of religious minorities including Shia, Sufi and Ahmadi Muslims, Christians and Hindus.
Two foreigners, an Italian aid worker and a Japanese man, were also shot dead late last year, in seemingly random attacks.
The so-called Islamic State group has said it carried out many of the attacks – but this has not been independently verified.
Members of another militant Islamist group, the Jamaat-ul Mujahideen Bangladesh (JMB), were arrested over an assault on an Italian Catholic priest late last year.
');
var s = document.createElement('script');
s.type = 'text/javascript'; s.async = true;
s.src = 'https://ad.admitad.com/shuffle/289c251618/'+subid_block+'?inject_to='+injectTo;
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
})();
We appealed everyone don’t create such environment where one will not have rights to put his view and follow any religion. What is really the secularism? Are we really human? We always made people to fear about religion rather to love and respect it? Don’t washed your brain, use it to think what is right and wrong. We all must love humanity. Please be human.