Prisoners nabbed for makeshift weapons