If you have both, i would suggest hash, as the amount needed would be smaller than if you were to add weed.
And add it before baking, so it can mix better with the brownie, and also for activation of the hash by the heat.
One last thing... be careful... as its very easy to put too much hash, and be TOO MUCH stoned... :stoned::thumbsup: