Prostate needle biopsy is a test to look for prostate cancer. During the test, a thin, hollow needle is used to take small samples of tissue from the prostate. The samples are then tested in a lab.