Here's one:
http://www.foodnetwork.com/recipes/robert-irvine/refried-beans-frijoles-refritos-recipe/index.html
And another I found on another BBQ site by a fella named fpmich:
Refried Beans from scratch (Yield: 6-7 cups)
First the soup
1 lb. Dry Pinto, or Black Beans
1 tsp. Marjoram or Oregano
2 tsp. Black Pepper
2 tsp. Salt, added during last 1/2 hour of cooking soup
Sort & remove debris. Place in pan of water, swish to rinse, and remove any floating beans. Drain water, & refill to 3X level of the beans. Soak overnight. Rinse beans next day & add water to about 1" above beans & bring to simmer in heavy pot (Dutch oven), Cover bring to boil on high heat.Put in pot 275* F oven for 1 ½ to 2 hours, You can cook in crock pot on high for about 3-5 hours. Check water level either method, to keep beans just barely covered while cooking. Test Beans. Squeeze 3-4 beans from different areas. If all are soft & tender, they’re done. If even just one is a little hard, cook longer.
Needed for 1 lb of cooked beans.
4-6 Tbsp. Bacon Grease
2 Tbsp. Real Butter (‘Not’ Margarine)
Refried part is best done in smaller batches. (Just divide beans, grease & butter amounts)
Heat bacon grease in heavy pan on med high, until quite hot, but not smoking. Ladle beans into pan with juice keeping juice below top of beans. Bring to low boil & using a fork or potato masher, mash beans half way, leaving chunks & some whole beans. Reduce heat to low & stir to prevent scorching. Add bean broth if too thick, or more drained beans if too thin. Cook until slightly thinner than you prefer. They’ll thicken on plate. Stir in butter at end, & serve. Freeze any leftover bean soup for next time.